emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Re: Odd behavior with numbered list, footnotes, and LaTeX


From: Nicolas Goaziou
Subject: [O] Re: Odd behavior with numbered list, footnotes, and LaTeX
Date: Sat, 09 Apr 2011 13:38:15 +0200

Hello,

John Hendy <address@hidden> writes:

> On Wed, Apr 6, 2011 at 1:33 PM, Nicolas Goaziou <address@hidden> wrote:
>> Hello,
>>
>> John Hendy <address@hidden> 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.
>>
>
> 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,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]