From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Odd behavior with numbered list, footnotes, and LaTeX Date: Sat, 9 Apr 2011 12:08:30 -0500 Message-ID: References: <87sjtv5ixn.fsf@gmail.com> <877hb34pug.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=44455 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8beD-0001Cj-Ad for emacs-orgmode@gnu.org; Sat, 09 Apr 2011 13:08:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8beC-0007c6-At for emacs-orgmode@gnu.org; Sat, 09 Apr 2011 13:08:33 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:48775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8beC-0007c2-3K for emacs-orgmode@gnu.org; Sat, 09 Apr 2011 13:08:32 -0400 Received: by bwz17 with SMTP id 17so4132760bwz.0 for ; Sat, 09 Apr 2011 10:08:31 -0700 (PDT) In-Reply-To: <877hb34pug.fsf@gmail.com> 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 , emacs-orgmode Cc: Nicolas Goaziou On Sat, Apr 9, 2011 at 6:38 AM, Nicolas Goaziou wrote= : > Hello, > > John Hendy writes: > >> On Wed, Apr 6, 2011 at 1:33 PM, Nicolas Goaziou wr= ote: >>> Hello, >>> >>> John Hendy writes: >>> >>>> Just stumbled across something very odd I can't figure out. Here's a s= ample: >>>> ,----- >>>> | #+OPTIONS: =C2=A0 toc:t TeX:t LaTeX:t H:4 f:t todo:nil num:t tags:ni= l >>>> | #+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. > Yay! Flawless victory (well, for this simple example). Many thanks, John > Regards, > > -- > Nicolas Goaziou >