From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Odd behavior with numbered list, footnotes, and LaTeX Date: Wed, 6 Apr 2011 12:48:31 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from [140.186.70.92] (port=49334 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7WqI-0006Da-AH for emacs-orgmode@gnu.org; Wed, 06 Apr 2011 13:48:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7WqH-0001jJ-7K for emacs-orgmode@gnu.org; Wed, 06 Apr 2011 13:48:34 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:48115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7WqG-0001j9-TM for emacs-orgmode@gnu.org; Wed, 06 Apr 2011 13:48:33 -0400 Received: by bwz17 with SMTP id 17so1580518bwz.0 for ; Wed, 06 Apr 2011 10:48:31 -0700 (PDT) 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: emacs-orgmode Hi, Just stumbled across something very odd I can't figure out. Here's a sample: ,----- | #+OPTIONS: toc:t TeX:t LaTeX:t H:4 f:t todo:nil num:t tags:nil | #+latex_class: article | | * Section | 1. *A section*: a bunch of text is here and it seems like the footnote is doing | something odd. [fn:1] More text here. | 2. *A section*: a bunch of text is here and it seems like the footnote is doing | something odd. | | * Footnotes | [fn:1] www.google.com `----- It seems that the footnote triggers LaTeX to end the enumerate environment early for some reason. Not only that, but it seems to be inserting \end{enumerate} *inside* the footnote: ,----- | \begin{enumerate} | \item \textbf{A section}: a bunch of text is here and it seems like the footnote is doing | something odd. \footnote{www.google.com | \end{enumerate} | } More text here. | | \begin{enumerate} | \item \textbf{A section}: a bunch of text is here and it seems like the footnote is doing | something odd. | \end{enumerate} `----- If I remove the footnote, it works fine. With the current export, this amounts to a PDF with the first item not indented and numbered "1" and the second indented but also numbered "1". If I add a footnote to the second item, I get both not indented, both numbered "1", and the second item reads like this in the PDF: ,----- | 1. Instrumental rationality: a bunch of text is here and it seems like the | footnote is doing something odd. 2 ORG-LIST-END-MARKER `--- Any suggestions? Thanks, John