From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Extra space between list items in HTML export Date: Mon, 10 Sep 2012 17:37:14 -0400 Message-ID: <8812.1347313034@alphaville.americas.hpqcorp.net> References: <40C7B1BFC291ED4E9D10436D07736A3347089E6713@EXMAIL7.haas.uc.berkeley.edu> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBBfW-00050W-Fc for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 17:37:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBBfS-0006XG-IU for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 17:37:22 -0400 Received: from g6t0186.atlanta.hp.com ([15.193.32.63]:22763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBBfS-0006X9-E7 for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 17:37:18 -0400 In-Reply-To: Message from Richard Stanton of "Mon, 10 Sep 2012 14:23:06 PDT." <40C7B1BFC291ED4E9D10436D07736A3347089E6713@EXMAIL7.haas.uc.berkeley.edu> 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: Richard Stanton Cc: "emacs-orgmode@gnu.org" Richard Stanton 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