From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Feature request: preserving plain list line breaks in exporting Date: Tue, 10 Mar 2009 19:13:42 +0100 Message-ID: <87eix5i6uh.fsf@kassiopeya.MSHEIMNETZ> References: <49B6A795.9010806@gmail.com> 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 1Lh6PY-0007dc-C9 for emacs-orgmode@gnu.org; Tue, 10 Mar 2009 14:10:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lh6PX-0007ch-J1 for emacs-orgmode@gnu.org; Tue, 10 Mar 2009 14:10:39 -0400 Received: from [199.232.76.173] (port=49867 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lh6PX-0007cR-Dh for emacs-orgmode@gnu.org; Tue, 10 Mar 2009 14:10:39 -0400 Received: from mail.gmx.net ([213.165.64.20]:58243) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Lh6PW-0007uZ-U9 for emacs-orgmode@gnu.org; Tue, 10 Mar 2009 14:10:39 -0400 In-Reply-To: <49B6A795.9010806@gmail.com> (Wanrong Lin's message of "Tue, 10 Mar 2009 13:47:01 -0400") 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: Wanrong Lin Cc: emacs-orgmode Try: * TODO Read books 1. [ ] Book 1 \\ Note: blah blah blah 2. [ ] Book 2 \\ Note: blah blah blah Or even: * TODO Read books 1. [ ] Book 1 :: Note: blah blah blah 2. [ ] Book 2 :: Note: blah blah blah plus CSS Regards, Sebastian Wanrong Lin writes: > Hi, > > Suppose I have a plain list as the following: > > * TODO Read books > 1. [ ] Book 1 > Note: blah blah blah > 2. [ ] Book 2 > Note: blah blah blah > > When the above is exported to HTML, the line breaks after the "heading line" of > each list item are lost, so it becomes "Book1 Note: blah blah blah", which does > not look very nice to me. I know I can keep the line breaks by inserting a blank > line, like this: > > * TODO Read books > 1. [ ] Book 1 > > Note: blah blah blah > 2. [ ] Book 2 > > Note: blah blah blah > > Well, this will fix the export, but the text above looks ugly now, especially > when the "Note" part is very short. > > Can we add some kind of option to control whether the line break after the first > line of a plain list item should be preserved in exporting? Or maybe we can > assume the line breaks should be preserved when "org-cycle-include-plain-lists" > is set to "t", since in that case we are treating the plain list item kind of > like a heading. > > Note setting "org-export-preserve-breaks" does not meet my needs, since that > will preserve ALL breaks. > > Thanks for giving the above a thought. > > Wanrong > > > _______________________________________________ > 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 > -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.rose@emma-stil.de, sebastian_rose@gmx.de Http: www.emma-stil.de