emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Baoqiu Cui <cbaoqiu@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Fix a DocBook/HTML exporter bug for literal examples
Date: Sun, 14 Jun 2009 18:05:51 +0200	[thread overview]
Message-ID: <246DD9E9-C757-4AEF-A9AD-6FCB944D5D45@gmail.com> (raw)
In-Reply-To: <bycr5xn2ie7.fsf@muchbodyking-lm.gateway.2wire.net>

Ahh, the beauty of a patch bug report with the patch attached...

Applied, thanks.

- Carsten
On Jun 14, 2009, at 12:56 PM, Baoqiu Cui wrote:

> Carsten,
>
> Recent changes to respect example indentations introduced a bug in  
> both
> DocBook and HTML exporters.  The following example
>
> ------------------------------------------------------------------------
> #+BEGIN_EXAMPLE
> Group of lines separated by empty lines:
>
>  Line One.
>
>  Line Two.
>  Line Three.
>
>  Line Four.
>  Line Five.
> #+END_EXAMPLE
> ------------------------------------------------------------------------
>
> is exported to HTML like the following (note that every empty line in
> the above example is repeated 3 times):
>
> ------------------------------------------------------------------------
> <pre class="example">
> Lines...
>
>
>
>  Line One.
>
>
>
>  Line Two.
>  Line Three.
>
>
>
>  Line Four.
>  Line Five.
> </pre>
> ------------------------------------------------------------------------
>
> and to DocBook format like this (empty lines are removed):
>
> ------------------------------------------------------------------------
> <programlisting><![CDATA[Group of lines separated by empty lines:
> Line One.
> Line Two.
>  Line Three.
> Line Four.
>  Line Five.
> ]]>
> </programlisting>
> ------------------------------------------------------------------------
>
> Attached please find a patch to fix this problem.
>
> Thanks,
> Baoqiu
>
> <example-indent.diff>_______________________________________________
> 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

      reply	other threads:[~2009-06-14 16:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-14 10:56 [PATCH] Fix a DocBook/HTML exporter bug for literal examples Baoqiu Cui
2009-06-14 16:05 ` 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=246DD9E9-C757-4AEF-A9AD-6FCB944D5D45@gmail.com \
    --to=carsten.dominik@gmail.com \
    --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).