From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: unattractive list spacing in ox-html export Date: Tue, 24 Jun 2014 09:34:07 -0400 Message-ID: <356979a3c486bf59932a95d0c20f4253@mail.rickster.com> References: <87tx7bgzdy.fsf@gmail.com> <87mwd3bbgl.fsf@Rainer.invalid> <87oaxjfgce.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzQrX-0007Pn-4J for emacs-orgmode@gnu.org; Tue, 24 Jun 2014 09:34:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzQrP-0004u1-Hm for emacs-orgmode@gnu.org; Tue, 24 Jun 2014 09:34:15 -0400 Received: from mail.rickster.com ([204.62.15.78]:32936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzQrP-0004ts-Eu for emacs-orgmode@gnu.org; Tue, 24 Jun 2014 09:34:07 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On 2014-06-24 08:46, Achim Gratz wrote: > Eric Schulte 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 (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