From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: LaTeX export of lists Date: Sun, 24 Jul 2011 09:18:48 -1000 Message-ID: References: <87r55fa6oe.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ql4CU-000322-MA for emacs-orgmode@gnu.org; Sun, 24 Jul 2011 15:18:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ql4CT-0008Iu-5A for emacs-orgmode@gnu.org; Sun, 24 Jul 2011 15:18:54 -0400 Received: from oproxy4-pub.bluehost.com ([69.89.21.11]:55225) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Ql4CS-0008IW-UV for emacs-orgmode@gnu.org; Sun, 24 Jul 2011 15:18:53 -0400 In-Reply-To: <87r55fa6oe.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 24 Jul 2011 20:13:05 +0200") 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: Nicolas Goaziou Cc: Org-mode Nicolas Goaziou writes: > 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, Aloha Nicolas, Thanks very much! The old LaTeXism behavior is back in my example. I probably don't understand your question fully, but it seems obvious to me that a list can either belong to a paragraph or it can be separate. I'm not certain why Org-mode would want to choose one over the other. I tend to see the question as having to do with how someone working in Org-mode indicates that a paragraph break is wanted. I do this with a blank line, as I do in LaTeX, and this seems to work. All the best, Tom -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com