From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: LaTeX export of lists Date: Sun, 28 Nov 2010 08:40:58 -1000 Message-ID: <223D6017-896A-463C-833B-9B85FECC857B@tsdye.com> References: <87pqtph4j0.wl%n.goaziou@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=42295 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMmBL-00038h-W0 for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 13:41:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMmBK-0006aN-L2 for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 13:41:03 -0500 Received: from cpoproxy1-pub.bluehost.com ([69.89.21.11]:37199) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PMmBK-0006aD-C2 for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 13:41:02 -0500 In-Reply-To: <87pqtph4j0.wl%n.goaziou@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs mailing list Aloha Nicolas, On Nov 28, 2010, at 5:05 AM, Nicolas Goaziou wrote: > Hello, > >>>>>> Thomas S Dye writes: > >> * List >> 1. First item >> 2. Second item Following text. > > This is completely different from your first example. Here "Following > text" is inside the list, whereas before, it was outside. > >> This works for lists set in a paragraph, but won't work for lists >> set out by themselves. Richard's \noindent will work in these >> situations, but I'm wondering why the empty line is there in the >> first place? > > I don't know, I am going to investigate this. Thanks for looking into this. The desired org-mode example and exported result is this: * List 1. First item 2. Second item Following text \section{List} \label{sec-1} \begin{enumerate} \item First item \item Second item \end{enumerate} Following text This way, the decision to typeset the list in-paragraph or displayed with following non-indented text can be made by the LaTeX class file. This means that * List 1. First item 2. Second item Following text should export as: \section{List} \label{sec-1} \begin{enumerate} \item First item \item Second item \end{enumerate} Following text All the best, Tom