From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Stanton Subject: Re: Extra space between list items in HTML export Date: Mon, 10 Sep 2012 16:47:54 -0700 Message-ID: References: <87obldtpb6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBDi7-00066b-2Z for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 19:48:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBDi5-0005n1-TH for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 19:48:11 -0400 Received: from gateway-b.haas.berkeley.edu ([128.32.222.40]:43896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBDi5-0005mu-NU for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 19:48:09 -0400 In-Reply-To: <87obldtpb6.fsf@gmail.com> Content-Language: en-US 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: Jambunathan K Cc: "nicholas.dokos@hp.com" , "emacs-orgmode@gnu.org" On 9/10/12 4:45 PM, "Jambunathan K" wrote: >Richard Stanton writes: > >> On 9/10/12 4:31 PM, "Jambunathan K" wrote: >> >>> >>>>> From: nicholas.dokos@hp.com [mailto:nicholas.dokos@hp.com] >>>>> Sent: Monday, September 10, 2012 2:37 PM >>>>> >>>>> > #+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 >>>> >>>> I also get the section number included as part of the list item >>>> text. This does look like a bug. >>>> >>>> When I use the new exporter to export to LaTeX/PDF, I get no section >>>> numbers, but I get a numbered, rather than itemized, list. This also >>>> seems like a (different) bug. >>> >>>I have pushed a fix to org-e-html.el. >>> >>>The depth of numbering is according to the value of num:N spec. Use >>> num:2 instead of num:t >>> >>>to get the numbering behaviour you desire. >>> >>>If something is not according to taste, point me to the markup that is >>>missing or which needs to be removed (instead of describing it in >>>English) >>> >>>> Richard >>>> >>>> >>> >>>-- >> >> Thanks. I'll try the new version. >> >> Meanwhile, as I understand it (and as implemented in the old exporter), >> h:2 should mean that only two levels of section headings should be >>created >> at all. Level 3 should be an itemized list (and therefore, implicitly, >> should not have a number). Thus, h:2 should imply n:2, I believe. > >New exporter is, hmmm, new. > >You can still get the old behaviour. So, that leaves us with no scope >for complaining. =20 > >I am merely following what Ngz has advised us. The HTML and LaTeX/PDF behavior are now the same, and I can see why the new behavior is better than the old, since it allows more options, so I'll stop complaining. For a while, anyway... Thanks.