emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rick Frankel <rick@rickster.com>
To: emacs-orgmode@gnu.org
Subject: Re: unattractive list spacing in ox-html export
Date: Tue, 24 Jun 2014 09:34:07 -0400	[thread overview]
Message-ID: <356979a3c486bf59932a95d0c20f4253@mail.rickster.com> (raw)
In-Reply-To: <loom.20140624T143755-486@post.gmane.org>

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

  parent reply	other threads:[~2014-06-24 13:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-23 20:11 unattractive list spacing in ox-html export Eric Schulte
2014-06-23 20:29 ` Nicolas Goaziou
2014-06-23 21:36   ` Eric Schulte
2014-06-23 22:31     ` Nicolas Goaziou
2014-06-24  0:09       ` Eric Schulte
2014-06-23 20:46 ` Achim Gratz
2014-06-23 21:20   ` Eric Schulte
2014-06-24 12:46     ` Achim Gratz
2014-06-24 13:24       ` Nicolas Goaziou
2014-06-25 14:43         ` Rick Frankel
2014-06-24 13:34       ` Rick Frankel [this message]
2014-06-24 13:34       ` Eric Schulte
2014-06-24 17:10         ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=356979a3c486bf59932a95d0c20f4253@mail.rickster.com \
    --to=rick@rickster.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).