From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baoqiu Cui Subject: Problem with BEGIN_CENTER Date: Wed, 18 Mar 2009 22:32:48 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkAsU-0002oV-Ts for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 01:33:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkAsQ-0002n8-08 for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 01:33:14 -0400 Received: from [199.232.76.173] (port=47612 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkAsP-0002n0-Fj for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 01:33:09 -0400 Received: from main.gmane.org ([80.91.229.2]:46269 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LkAsP-0002DN-1y for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 01:33:09 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LkAsN-0000j9-Lr for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 05:33:07 +0000 Received: from nat-dip6.cfw-a-gci.corp.yahoo.com ([209.131.62.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Mar 2009 05:33:07 +0000 Received: from cbaoqiu by nat-dip6.cfw-a-gci.corp.yahoo.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Mar 2009 05:33:07 +0000 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: emacs-orgmode@gnu.org 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