* shorter way of #+HTML: <br />
@ 2012-06-06 17:02 Enda
2012-06-06 17:28 ` Bernt Hansen
2012-06-06 18:33 ` Bastien
0 siblings, 2 replies; 5+ messages in thread
From: Enda @ 2012-06-06 17:02 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
When I prepare an org file to convert into html, I have to have a lot
of
#+HTML: <br />
to break lines without a full full line space between them, should
there be or is there is shorter way to doing this?, like having a dot
on a line by itself for the html converter could mean a newline
(without a full line space) like:
Org mode
.
Emacs
would be converted to:
<p>
Org mode
<br />
Emacs
<p>
Best wishes,
Enda
[-- Attachment #2: Type: text/html, Size: 722 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: shorter way of #+HTML: <br />
2012-06-06 17:02 shorter way of #+HTML: <br /> Enda
@ 2012-06-06 17:28 ` Bernt Hansen
2012-06-06 17:49 ` Enda
2012-06-06 18:33 ` Bastien
1 sibling, 1 reply; 5+ messages in thread
From: Bernt Hansen @ 2012-06-06 17:28 UTC (permalink / raw)
To: Enda; +Cc: emacs-orgmode@gnu.org
Enda <enda_k2@yahoo.com> writes:
> When I prepare an org file to convert into html, I have to have a lot
> of
>
> #+HTML: <br />
>
> to break lines without a full full line space between them, should
> there be or is there is shorter way to doing this?, like having a dot
> on a line by itself for the html converter could mean a newline
> (without a full line space) like:
>
> Org mode
> .
> Emacs
>
> would be converted to:
>
> <p>
> Org mode
> <br />
> Emacs
> <p>
>
> Best wishes,
>
> Enda
This is what CSS is for. Define the spacing you want between paragraphs
and you don't need any additional markup.
Regards,
Bernt
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: shorter way of #+HTML: <br />
2012-06-06 17:28 ` Bernt Hansen
@ 2012-06-06 17:49 ` Enda
0 siblings, 0 replies; 5+ messages in thread
From: Enda @ 2012-06-06 17:49 UTC (permalink / raw)
To: Bernt Hansen; +Cc: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]
I want nearly all paragraphs to have one line of spacing, the #+HTML: <br /> (no line of spacing) is just for once-off occasions.
Best wishes,
Enda
________________________________
From: Bernt Hansen <bernt@norang.ca>
To: Enda <enda_k2@yahoo.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Sent: Wednesday, June 6, 2012 6:28 PM
Subject: Re: shorter way of #+HTML: <br />
Enda <enda_k2@yahoo.com> writes:
> When I prepare an org file to convert into html, I have to have a lot
> of
>
> #+HTML: <br />
>
> to break lines without a full full line space between them, should
> there be or is there is shorter way to doing this?, like having a dot
> on a line by itself for the html converter could mean a newline
> (without a full line space) like:
>
> Org mode
> .
> Emacs
>
> would be converted to:
>
> <p>
> Org mode
> <br />
> Emacs
> <p>
>
> Best wishes,
>
> Enda
This is what CSS is for. Define the spacing you want between paragraphs
and you don't need any additional markup.
Regards,
Bernt
[-- Attachment #2: Type: text/html, Size: 2112 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: shorter way of #+HTML: <br />
2012-06-06 17:02 shorter way of #+HTML: <br /> Enda
2012-06-06 17:28 ` Bernt Hansen
@ 2012-06-06 18:33 ` Bastien
2012-06-07 20:40 ` T.F. Torrey
1 sibling, 1 reply; 5+ messages in thread
From: Bastien @ 2012-06-06 18:33 UTC (permalink / raw)
To: Enda; +Cc: emacs-orgmode@gnu.org
Hi Enda,
Enda <enda_k2@yahoo.com> writes:
> When I prepare an org file to convert into html, I have to have a lot
> of
>
> #+HTML: <br />
>
> to break lines without a full full line space between them, should
> there be or is there is shorter way to doing this?
Nope, sorry. But you can easily insert it repeartedly by using
Emacs internals (registers etc.)
Best,
--
Bastien
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: shorter way of #+HTML: <br />
2012-06-06 18:33 ` Bastien
@ 2012-06-07 20:40 ` T.F. Torrey
0 siblings, 0 replies; 5+ messages in thread
From: T.F. Torrey @ 2012-06-07 20:40 UTC (permalink / raw)
To: bzg; +Cc: emacs-orgmode, enda_k2
Won't using "\\" in this construct produce what the OP requested?
This:
#+BEGIN_SRC org
Some text\\
new line.
#+END_SRC
Becomes this:
#+BEGIN_HTML
<p>Some text<br/>
new line.
</p>
#+END_HTML
Terry
--
T.F. Torrey
> Hi Enda,
>
> Enda <enda_k2@yahoo.com> writes:
>
>> When I prepare an org file to convert into html, I have to have a lot
>> of
>>
>> #+HTML: <br />
>>
>> to break lines without a full full line space between them, should
>> there be or is there is shorter way to doing this?
>
> Nope, sorry. But you can easily insert it repeartedly by using
> Emacs internals (registers etc.)
>
> Best,
>
> --
> Bastien
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-06-07 20:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-06 17:02 shorter way of #+HTML: <br /> Enda
2012-06-06 17:28 ` Bernt Hansen
2012-06-06 17:49 ` Enda
2012-06-06 18:33 ` Bastien
2012-06-07 20:40 ` T.F. Torrey
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).