From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Odd behavior with numbered list, footnotes, and LaTeX Date: Sat, 09 Apr 2011 13:38:15 +0200 Message-ID: <877hb34pug.fsf@gmail.com> References: <87sjtv5ixn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=53804 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8WUf-0005ol-TE for emacs-orgmode@gnu.org; Sat, 09 Apr 2011 07:38:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8WUe-0003UP-SQ for emacs-orgmode@gnu.org; Sat, 09 Apr 2011 07:38:21 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:54075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8WUe-0003UA-Mh for emacs-orgmode@gnu.org; Sat, 09 Apr 2011 07:38:20 -0400 Received: by wyf19 with SMTP id 19so4411593wyf.0 for ; Sat, 09 Apr 2011 04:38:19 -0700 (PDT) In-Reply-To: (John Hendy's message of "Wed, 6 Apr 2011 23:36:55 -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: > On Wed, Apr 6, 2011 at 1:33 PM, Nicolas Goaziou wro= te: >> Hello, >> >> John Hendy writes: >> >>> Just stumbled across something very odd I can't figure out. Here's a sa= mple: >>> ,----- >>> | #+OPTIONS: =C2=A0 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 >>> | =C2=A0 something odd. [fn:1] More text here. >>> | 2. *A section*: a bunch of text is here and it seems like the >>> footnote is doing >>> | =C2=A0something 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 >>> | =C2=A0 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 >>> | =C2=A0 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. >> > > Whoops on missing that... though I hope it gets fixed. I hadn't > updated one of my computers in a few months and know it wasn't giving > the bad behavior on there, so a change must have goofed something. I've pushed the patch. I tried it on your example and it seems to behave correctly. Though, do not hesitate to report back if any problem arises. Regards, --=20 Nicolas Goaziou