From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: LaTeX export of lists Date: Sun, 24 Jul 2011 12:44:12 -0400 Message-ID: <29583.1311525852@alphaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ql1mu-00022o-Bd for emacs-orgmode@gnu.org; Sun, 24 Jul 2011 12:44:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ql1mt-0001ID-1e for emacs-orgmode@gnu.org; Sun, 24 Jul 2011 12:44:20 -0400 Received: from g6t0184.atlanta.hp.com ([15.193.32.61]:5853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ql1ms-0001I3-T5 for emacs-orgmode@gnu.org; Sun, 24 Jul 2011 12:44:19 -0400 In-Reply-To: Message from tsd@tsdye.com (Thomas S. Dye) of "Sun, 24 Jul 2011 06:16:48 -1000." 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: "Thomas S. Dye" Cc: nicholas.dokos@hp.com, Org-mode Thomas S. Dye wrote: > Aloha all, > > LaTeX export of lists appears to be inserting an extraneous blank line. > > This snippet from the Org-mode document: > > first-order cultural history sequence for Hawai`i can be expressed > with model (\ref{eq:first-order}), which states that > 1. the pre-colonization period began at a time too old for the > \rc\space method to date; > > is exported to LaTeX as: > > first-order cultural history sequence for Hawai`i can be expressed > with model \ref{eq:first-order}, which states that > > \begin{enumerate} > \item the pre-colonization period began at a time too old for the > \rc\ method to date; > > The blank line before \begin{enumerate} is interpreted by LaTeX as a > paragraph break, which I don't want here because I'm setting the > enumerated list within the paragraph and not displayed separately. > > IIRC, this represents an old behavior that was corrected a while back. > I'm not sure when the blank line snuck back in. > > I'm using Org-mode version 7.6 (release_7.6.102.g05c6). > > All the best, > Tom > Bisected it to this commit: ,---- | 69e02a73de7423bafa4df473cb746865c305b7ae is the first bad commit | commit 69e02a73de7423bafa4df473cb746865c305b7ae | Author: Nicolas Goaziou | Date: Sun Jan 2 13:52:16 2011 +0100 | | Modified export engines for lists | | * lisp/org-exp.el (org-export-mark-lists): new function, replacing | org-export-mark-list-ending. It adds information as text properties | to every list, before changes done by exporter destruct them. | | * lisp/org-html.el (org-export-as-html): delegate list handling to | external function org-html-export-list-line. | (org-html-export-list-line): new function. | | * lisp/org-latex.el (org-export-latex-lists): small modification. | | :040000 040000 5c6d7691e72af31680c5560171cc46bea56112ea 4de9fe5e7c954b31ab23a9e84ba28fa818c368c8 M lisp `---- Nick