From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Problem with BEGIN_CENTER Date: Thu, 19 Mar 2009 17:40:32 +0100 Message-ID: <6BF160F1-BAC0-4D14-B42F-1903E978C95C@uva.nl> References: Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkLIh-00028T-1F for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 12:40:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkLIc-000259-Jk for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 12:40:58 -0400 Received: from [199.232.76.173] (port=59473 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkLIc-00024s-73 for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 12:40:54 -0400 Received: from mail-fx0-f166.google.com ([209.85.220.166]:54174) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkLIb-0003l9-Ev for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 12:40:53 -0400 Received: by mail-fx0-f166.google.com with SMTP id 10so536502fxm.42 for ; Thu, 19 Mar 2009 09:40:53 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Baoqiu Cui Cc: emacs-orgmode@gnu.org 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

is nested: > >

> 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 >

>

> > 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. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode