From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Odd behavior with numbered list, footnotes, and LaTeX Date: Wed, 06 Apr 2011 20:33:08 +0200 Message-ID: <87sjtv5ixn.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=40810 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7XXW-0002Zw-S0 for emacs-orgmode@gnu.org; Wed, 06 Apr 2011 14:33:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7XXV-0000mX-KC for emacs-orgmode@gnu.org; Wed, 06 Apr 2011 14:33:14 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:51156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7XXV-0000m2-FR for emacs-orgmode@gnu.org; Wed, 06 Apr 2011 14:33:13 -0400 Received: by wyf19 with SMTP id 19so1855769wyf.0 for ; Wed, 06 Apr 2011 11:33:12 -0700 (PDT) In-Reply-To: (John Hendy's message of "Wed, 6 Apr 2011 12:48:31 -0500") 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: John Hendy Cc: emacs-orgmode Hello, John Hendy writes: > 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} > `----- > > Any suggestions? This has been discussed in a recent thread, and I submitted a patch for that problem. I'm still waiting for feedback before applying it. Regards, -- Nicolas Goaziou