From: Carsten Dominik <dominik@science.uva.nl>
To: Baoqiu Cui <cbaoqiu@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Problem with BEGIN_CENTER
Date: Thu, 19 Mar 2009 17:40:32 +0100 [thread overview]
Message-ID: <6BF160F1-BAC0-4D14-B42F-1903E978C95C@uva.nl> (raw)
In-Reply-To: <byck56mf56n.fsf@muchbodyking-lm.corp.yahoo.com>
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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2009-03-19 16:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-19 5:32 Problem with BEGIN_CENTER Baoqiu Cui
2009-03-19 16:40 ` Carsten Dominik [this message]
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=6BF160F1-BAC0-4D14-B42F-1903E978C95C@uva.nl \
--to=dominik@science.uva.nl \
--cc=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).