emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Horn <jrhorn424@gmail.com>
To: Jeff Horn <jrhorn424@gmail.com>, Kieran Healy <kjhealy@gmail.com>,
	emacs-orgmode@gnu.org
Cc: Nicolas <n.goaziou@gmail.com>
Subject: Re: [BUG] ? Stray \end{LIST} in latex export
Date: Sun, 27 Feb 2011 21:49:57 -0500	[thread overview]
Message-ID: <AANLkTimD-yzbWaAcUTcYsm9Lfqq4qH0B3VemfVC=A2ic@mail.gmail.com> (raw)
In-Reply-To: <87sjv9gkmb.fsf@gmail.com>

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 <n.goaziou@gmail.com> wrote:
> Hello,
>
> Jeff Horn <jrhorn424@gmail.com> 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/

  parent reply	other threads:[~2011-02-28  2:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-26 18:45 [BUG] ? Stray \end{LIST} in latex export Kieran Healy
2011-02-27 21:32 ` Jeff Horn
2011-02-27 22:47   ` Nicolas
2011-02-27 23:48     ` Thomas S. Dye
2011-02-28  0:23       ` Kieran Healy
2011-02-28  2:43         ` Jeff Horn
2011-02-28  2:53           ` Kieran Healy
2011-02-28  2:49     ` Jeff Horn [this message]
2011-02-28  9:17       ` Nicolas
2011-02-28  7:57   ` [BUG] ? Stray \end{LIST} in latex export -> thanks Manuel Hermenegildo
2011-02-28 10:33 ` [BUG] ? Stray \end{LIST} in latex export Nicolas
2011-02-28 14:20   ` Kieran Healy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTimD-yzbWaAcUTcYsm9Lfqq4qH0B3VemfVC=A2ic@mail.gmail.com' \
    --to=jrhorn424@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjhealy@gmail.com \
    --cc=n.goaziou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).