[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: [BUG] ? Stray \end{LIST} in latex export
From: |
Jeff Horn |
Subject: |
[Orgmode] Re: [BUG] ? Stray \end{LIST} in latex export |
Date: |
Sun, 27 Feb 2011 21:49:57 -0500 |
Just pulled. The following org src:
#+begin_src org
#+TITLE: Test LaTeX Exporter and Lists
#+AUTHOR: Jeffrey Horn
#+EMAIL: address@hidden
#+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 <address@hidden> wrote:
> Hello,
>
> Jeff Horn <address@hidden> 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/
Message not available
[Orgmode] Re: [BUG] ? Stray \end{LIST} in latex export, Nicolas, 2011/02/28