From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: LaTeX export of lists Date: Sun, 24 Jul 2011 20:13:05 +0200 Message-ID: <87r55fa6oe.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ql3Av-0005GC-1V for emacs-orgmode@gnu.org; Sun, 24 Jul 2011 14:13:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ql3At-0006lG-T2 for emacs-orgmode@gnu.org; Sun, 24 Jul 2011 14:13:13 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:44543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ql3At-0006lC-N7 for emacs-orgmode@gnu.org; Sun, 24 Jul 2011 14:13:11 -0400 Received: by wyg36 with SMTP id 36so2901814wyg.0 for ; Sun, 24 Jul 2011 11:13:10 -0700 (PDT) In-Reply-To: (Thomas S. Dye's message 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: Org-mode Hello, tsd@tsdye.com (Thomas S. Dye) writes: > 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 pushed a patch bringing back the old behaviour. That raises an interesting question: can a list belong to a paragraph in Org? According to paragraph-related regexps, it can't, for now. And your request is more a "LaTeXism" than an "Orgism" (!). Anyway, it should be fine now. Regards, -- Nicolas Goaziou