emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Problem with BEGIN_CENTER


From: Carsten Dominik
Subject: Re: [Orgmode] Problem with BEGIN_CENTER
Date: Thu, 19 Mar 2009 17:40:32 +0100

Fixed, thanks.  I am using now a div, not a paragraph for this.

- Carsten

On Mar 19, 2009, at 6:32 AM, Baoqiu Cui wrote:

It seems that the newly added feature BEGIN_CENTER only supports *one*
paragraph, i.e. only the first paragraph after BEGIN_CENTER will be
centered in exported HTML format.

For example, for the following lines in my Org file:

   #+BEGIN_CENTER
   Everything should be made as simple as possible, \\
   but not any simpler

   Repeat the above paragraph:

   Everything should be made as simple as possible, \\
   but not any simpler
   #+END_CENTER

I get the following HTML code, which, strictly speaking, contains a bug
because <p> is nested:

   <p style="text-align: center">
   Everything should be made as simple as possible, <br/>
   but not any simpler

   <p>
   Repeat the above paragraph:
   </p>
   <p>
   Everything should be made as simple as possible, <br/>
   but not any simpler
   </p>
   </p>

Is this the expected behavior?  I am trying to support this feature in
DocBook exporter, and would like to make BEGIN_CENTER work on multiple
paragraphs.

Baoqiu



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]