[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Cannot insert a footnote after certain verbatim text?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Cannot insert a footnote after certain verbatim text? |
Date: |
Sun, 16 Oct 2011 10:15:04 +0200 |
Hello,
CS Fuu <address@hidden> writes:
> I am using org to write a document correcting some of my students' more
> common LaTeX blunders, and I keep running into places where I am not able to
> insert a footnote ("Cannot insert a footnote here."). Some of these problems
> I am unable to reproduce consistently, but I think it usually occurs when a
> paragraph (or list item) contains verbatim or code text with a backslash
> (\), and only after the verbatim text. Here is one such example. Create an
> .org file with the following three "paragraphs" (including the two blank
> likes):
>
>
> Blah, blah, blah.
>
> Woof, woof, =\begin{document}=, woof.
>
> Cry, cry, cry.
>
>
> If you're me, then you can insert a footnote after any word or punctuation
> in the first and third paragraphs, and after the first two words and the
> first comma in the second paragraph, but nowhere past the second comma in
> the second paragraph.
>
> I'm running the latest org (7.7) from the git repository in GNU emacs
> 23.1.1.
For what it's worth, this not directly related to footnotes. It's
a weakness in `org-inside-LaTeX-fragment-p', which returns a non-nil
value after =\begin{document}= instead of nil. And, obviously, one
cannot add a footnote inside a LaTeX fragment...
Regards,
--
Nicolas Goaziou