From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eddward DeVilla Subject: Re: Feature request: preserving plain list line breaks in exporting Date: Wed, 11 Mar 2009 21:07:41 -0500 Message-ID: References: <49B6A795.9010806@gmail.com> <87eix5i6uh.fsf@kassiopeya.MSHEIMNETZ> <49B6B647.20201@gmail.com> <87vdqhkvyz.fsf@kassiopeya.MSHEIMNETZ> <49B6D575.1000700@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhaKl-00062M-E5 for emacs-orgmode@gnu.org; Wed, 11 Mar 2009 22:07:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhaKk-00062A-SR for emacs-orgmode@gnu.org; Wed, 11 Mar 2009 22:07:43 -0400 Received: from [199.232.76.173] (port=46872 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhaKk-000627-Oy for emacs-orgmode@gnu.org; Wed, 11 Mar 2009 22:07:42 -0400 Received: from mail-qy0-f132.google.com ([209.85.221.132]:48900) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhaKk-0000zw-BI for emacs-orgmode@gnu.org; Wed, 11 Mar 2009 22:07:42 -0400 Received: by qyk38 with SMTP id 38so517249qyk.14 for ; Wed, 11 Mar 2009 19:07:41 -0700 (PDT) In-Reply-To: <49B6D575.1000700@gmail.com> 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 Does anyone know how to get something like \\ or :: to preserve line breaks in the org file when using M-q to re format a list item? I don't care so much about the export. Edd On Tue, Mar 10, 2009 at 4:02 PM, Wanrong Lin wrote: > > Thanks. But "::"" does not as well as "\\" for numbered list (the numbers > are gone with "::"). > > Actually, when I say "it is not as pretty as I want" in my last email, I > meant the original ".org" text file is not pretty with either "\\" or "::= " > just for adding a line break for exporting. So ideally, I still prefer a > configuration option to control the line break preservation. > > Wanrong > > Sebastian Rose wrote: >> >> Wanrong Lin writes: >> >>> >>> The double back slashes works well (although that is not as pretty as I >>> want). Thank you! >>> >> >> >> For better controle of line height and paddings, I'd suggest to use the >> `::' syntax and CSS for the
and
elements. >> >> >> dd {font-weight:bold;margin-top:3em;} >> dt {....} >> >> >> >> Best, >> >> =A0 Sebastian >> >> >>> >>> Wanrong >>> >>> Sebastian Rose wrote: >>> >>>> >>>> Try: >>>> >>>> * TODO Read books >>>> =A01. [ ] Book 1 \\ >>>> =A0 =A0 =A0 =A0 Note: blah blah blah >>>> =A02. [ ] Book 2 \\ >>>> =A0 =A0 =A0 =A0 Note: blah blah blah >>>> >>>> Or even: >>>> >>>> * TODO Read books >>>> =A01. [ ] Book 1 :: >>>> =A0 =A0 =A0 =A0 Note: blah blah blah >>>> =A02. [ ] Book 2 :: >>>> =A0 =A0 =A0 =A0 Note: blah blah blah >>>> >>>> =A0plus CSS >>>> >>>> >>>> >>>> Regards, >>>> >>>> =A0Sebastian >>>> >>>> >>>> Wanrong Lin writes: >>>> >>>>> >>>>> Hi, >>>>> >>>>> Suppose I have a plain list as the following: >>>>> >>>>> * TODO Read books >>>>> =A01. [ ] Book 1 >>>>> =A0 =A0 =A0 =A0Note: blah blah blah >>>>> =A02. [ ] Book 2 >>>>> =A0 =A0 =A0 =A0Note: blah blah blah >>>>> >>>>> When the above is exported to HTML, the line breaks after the "headin= g >>>>> 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 >>>>> =A01. [ ] Book 1 >>>>> >>>>> =A0 =A0 =A0 =A0Note: blah blah blah >>>>> =A02. [ ] Book 2 >>>>> >>>>> =A0 =A0 =A0 =A0Note: 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 afte= r >>>>> 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, sin= ce >>>>> 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 >>>>> >>>>> >>>> >>>> >>> >>> _______________________________________________ >>> 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 >>> >> >> > > > > _______________________________________________ > 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 >