From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [PATCH] Fix a DocBook/HTML exporter bug for literal examples Date: Sun, 14 Jun 2009 18:05:51 +0200 Message-ID: <246DD9E9-C757-4AEF-A9AD-6FCB944D5D45@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v935.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 1MFsDY-0002nQ-0v for emacs-orgmode@gnu.org; Sun, 14 Jun 2009 12:06:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFsDT-0002lX-M4 for emacs-orgmode@gnu.org; Sun, 14 Jun 2009 12:05:59 -0400 Received: from [199.232.76.173] (port=49545 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFsDT-0002lT-G9 for emacs-orgmode@gnu.org; Sun, 14 Jun 2009 12:05:55 -0400 Received: from mail-ew0-f224.google.com ([209.85.219.224]:56218) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MFsDS-0003wZ-PI for emacs-orgmode@gnu.org; Sun, 14 Jun 2009 12:05:55 -0400 Received: by ewy24 with SMTP id 24so359950ewy.42 for ; Sun, 14 Jun 2009 09:05: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 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): > > ------------------------------------------------------------------------ >
> Lines...
>
>
>
>  Line One.
>
>
>
>  Line Two.
>  Line Three.
>
>
>
>  Line Four.
>  Line Five.
> 
> ------------------------------------------------------------------------ > > and to DocBook format like this (empty lines are removed): > > ------------------------------------------------------------------------ > Line One. > Line Two. > Line Three. > Line Four. > Line Five. > ]]> > > ------------------------------------------------------------------------ > > Attached please find a patch to fix this problem. > > Thanks, > 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