emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Feature request: preserving plain list line breaks in expo


From: Sebastian Rose
Subject: Re: [Orgmode] Feature request: preserving plain list line breaks in exporting
Date: Tue, 10 Mar 2009 20:40:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

Wanrong Lin <address@hidden> 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 <dt> and <dd> elements.


dd {font-weight:bold;margin-top:3em;}
dt {....}



Best,

   Sebastian

>
> Wanrong
>
> Sebastian Rose wrote:
>> 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 <address@hidden> 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.
>>> address@hidden
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>>
>>>     
>>
>>   
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> address@hidden
> 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: address@hidden, address@hidden
Http:  www.emma-stil.de




reply via email to

[Prev in Thread] Current Thread [Next in Thread]