emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Richard Stanton <stanton@haas.berkeley.edu>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Extra space between list items in HTML export
Date: Mon, 10 Sep 2012 17:37:14 -0400	[thread overview]
Message-ID: <8812.1347313034@alphaville.americas.hpqcorp.net> (raw)
In-Reply-To: Message from Richard Stanton <stanton@haas.berkeley.edu> of "Mon, 10 Sep 2012 14:23:06 PDT." <40C7B1BFC291ED4E9D10436D07736A3347089E6713@EXMAIL7.haas.uc.berkeley.edu>

Richard Stanton <stanton@haas.berkeley.edu> wrote:

> I often use the h:2 option to turn level 3 headers into itemized list entri=
> es. When exporting to LaTeX/PDF, the spacing between items is the same this=
>  way as it is when I use an explicit itemized list. When exporting to HTML,=
>  however, there's some extra space inserted between items when they were or=
> iginally headers. Here's an example. Export to HTML and you'll see the diff=
> erent spacing:
> 
> -------------
> 
> #+OPTIONS: h:2, toc:nil
> 
> * Example of itemized list
> ** Blank level 2 header
> - List 1
> - List 2
> - List 3
> 
> * Level 3 headings as itemized list, with extra space
> ** Blank level 2 header
> *** List 1
> *** List 2
> *** List 3
> 

The old exporter does that: it breaks the second up into three lists, each with a single
element. The first is a single list with three elements.

The new exporter produces a single list with three elements, although it includes
the section number for each entry - this might be a bug.

Nick

  reply	other threads:[~2012-09-10 21:37 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-10 21:23 Extra space between list items in HTML export Richard Stanton
2012-09-10 21:37 ` Nick Dokos [this message]
2012-09-10 22:39   ` Richard Stanton
2012-09-10 23:31     ` Jambunathan K
2012-09-10 23:39       ` Richard Stanton
2012-09-10 23:45         ` Jambunathan K
2012-09-10 23:47           ` Richard Stanton
2012-09-11  0:52         ` Nick Dokos
2012-09-11  7:30           ` Jambunathan K
2012-09-11  8:00             ` Nick Dokos
2012-09-18  7:26               ` Bastien
2012-09-18 14:34           ` Bastien
2012-09-18 13:26   ` Bastien
2012-09-18 16:13     ` Richard Stanton
2012-09-19  6:53       ` Bastien
2012-09-19 16:01         ` Richard Stanton
2012-09-19 16:45           ` Bastien
2012-09-19 20:55             ` Richard Stanton
2012-09-18 13:25 ` Bastien

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=8812.1347313034@alphaville.americas.hpqcorp.net \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=stanton@haas.berkeley.edu \
    /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).