emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] unattractive list spacing in ox-html export


From: Rick Frankel
Subject: Re: [O] unattractive list spacing in ox-html export
Date: Tue, 24 Jun 2014 09:34:07 -0400
User-agent: Roundcube Webmail/0.9.0

On 2014-06-24 08:46, Achim Gratz wrote:
Eric Schulte <schulte.eric <at> gmail.com> writes:
I disagree, editing CSS shouldn't be required for reasonable default
list spacing on HTML export.

You can disagree all you want, that doesn't make the underlying problem go away. The reason for the "unattractive spacing" is that list items, while conceptually paragraphs, do not have additional spacing after them so the list becomes more compact. The W3C doesn't really encourage to use lists with paragraphs, but if you do (like Org), an explicit paragraph inside a list environment either should also not have that spacing or should have it at the beginning (in which case the first paragraph must be implicit). So
you'll have to modify the CSS anyway or the lists are still having ugly
spacing. Your patch only makes it consistently ugly as soon as there is a
single explicit paragraph needed.


I pretty much agree w/ Achim. Lists are in general meant to be compact
and have short content. But given that  lists are often "abused" to
contain paragraph text, perhaps a better approach would be to wrap
anything in a list element longer than <X> (2 lines, ~160 characters?)
in a paragraph (or multiple if required) and change the default css to
only paragraph space _between_ paragraphs in list elements (i.e., after
all but the last paragraph, or before all but the first.)

rick



reply via email to

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