From: Baoqiu Cui <cbaoqiu@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Problem with BEGIN_CENTER
Date: Wed, 18 Mar 2009 22:32:48 -0700 [thread overview]
Message-ID: <byck56mf56n.fsf@muchbodyking-lm.corp.yahoo.com> (raw)
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
next reply other threads:[~2009-03-19 5:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-19 5:32 Baoqiu Cui [this message]
2009-03-19 16:40 ` Problem with BEGIN_CENTER Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=byck56mf56n.fsf@muchbodyking-lm.corp.yahoo.com \
--to=cbaoqiu@yahoo.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).