From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: [BUG] ? Stray \end{LIST} in latex export Date: Sun, 27 Feb 2011 21:49:57 -0500 Message-ID: References: <3B67EB93-F874-43CA-BAD2-2F27315C74C5@gmail.com> <87sjv9gkmb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=33196 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PttBq-000158-3c for emacs-orgmode@gnu.org; Sun, 27 Feb 2011 21:50:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PttBi-0002xM-RX for emacs-orgmode@gnu.org; Sun, 27 Feb 2011 21:50:25 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:60531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PttBi-0002x3-KO for emacs-orgmode@gnu.org; Sun, 27 Feb 2011 21:50:18 -0500 Received: by fxm5 with SMTP id 5so3910515fxm.0 for ; Sun, 27 Feb 2011 18:50:17 -0800 (PST) In-Reply-To: <87sjv9gkmb.fsf@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: Jeff Horn , Kieran Healy , emacs-orgmode@gnu.org Cc: Nicolas Just pulled. The following org src: #+begin_src org #+TITLE: Test LaTeX Exporter and Lists #+AUTHOR: Jeffrey Horn #+EMAIL: jrhorn424@gmail.com #+DATE: 2011-02-27 Sun #+DESCRIPTION: Whenever a plain list is used in org and exported to LaTeX, an "\end{LIST}" declaration appears in the .tex file and generates compilation errors by ending the document prematurely. * A Simple List The following list is exported correctly, except for an extra =\end{LIST}= declaration after the last list item. 1) A list item 2) Another item * Relevant Settings I'm not sure what is causing the problem, but these may be relevant: | variable | setting | |------------------------+---------| | org-list-ending-method | indent | | ... | ... | org-special-blocks is enabled. #+end_src produces the following tex src (snipped the preamble): #+begin_src latex \begin{document} \title{Test \LaTeX{} Exporter and Lists} \author{Jeffrey Horn} \date{2011-02-27 Sun} \maketitle \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} \section{A Simple List} \label{sec-1} The following list is exported correctly, except for an extra \texttt{\textbackslash{}end\{LIST\}} declaration after the last list item. \begin{enumerate} \item A list item \item Another item \end{enumerate} \end{LIST} \section{Relevant Settings} \label{sec-2} I'm not sure what is causing the problem, but these may be relevant: \begin{center} \begin{tabular}{ll} variable & setting \\ \hline org-list-ending-method & indent \\ \ldots{} & \ldots{} \\ \end{tabular} \end{center} org-special-blocks is enabled. \end{document} #+end_src The bug is definitely still present for me. On Sun, Feb 27, 2011 at 5:47 PM, Nicolas wrote: > Hello, > > Jeff Horn writes: > >> I noticed this last week and can reproduce it. I was just preparing a >> bug report on this very problem, and my test file is similar to yours. >> >> Minimal org setup. >> Org-mode version 7.4 (release_7.4.501.gc6dbde.dirty) >> GNU Emacs 24.0.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) >> of 2011-02-10 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev > > I cannot reproduce this. Could you try to upgrade to a more recent > version, just in case? > > Regards, > > -- > Nicolas > -- Jeffrey Horn http://www.failuretorefrain.com/jeff/