From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Footnotes issue with LaTeX export Date: Sun, 8 Jan 2012 13:30:54 -0600 Message-ID: References: <87r4zq8fd6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00151747c0ee10264604b60952b5 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjySJ-0000Ji-8F for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 14:31:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjySG-0001Wa-KG for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 14:30:59 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:40533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjySG-0001WC-8a for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 14:30:56 -0500 Received: by bkaq10 with SMTP id q10so1380263bka.0 for ; Sun, 08 Jan 2012 11:30:54 -0800 (PST) In-Reply-To: <87r4zq8fd6.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode --00151747c0ee10264604b60952b5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Dec 27, 2011 at 4:43 AM, Nicolas Goaziou wrote= : > Hello, > > John Hendy writes: > > > I'm experiencing an issue similar to this one: > > --- http://osdir.com/ml/emacs-orgmode-gnu/2011-10/msg00544.html > > > > I have a paragraph in which I reference a dollar amount (preceded by > "$"). > > Attempting to insert a footnote anywhere in that paragraph gets me the > > error "Cannot insert a footnote here." > > [...] > > > Any suggestions? > > Yes: Can you provide an ECM (Complete Minimal Example), and tell the > version of Org you're using? > > Sure. Here you are: -- M-x org-version: Org-mode version 7.8.03 (release_7.8.03.61.g59df6) -- Emacs: 23.3.1 -- Minimal example: #+begin_src orgmode * Header Test paragraph where I insert a dollar amount of $100. Test paragraph where I insert a dollar amount of \$100. Test paragraph where I insert a dollar amount of 100.[fn:1] * Footnotes [fn:1] Successful; the first two give the error 'Cannot insert a footnote here' #+end_src > Also, does M-: (org-inside-LaTeX-fragment-p) return coherent values > (that is nil when point isn't inside a LaTeX fragment) when evaluated > throughout the paragraph? > > I don't necessarily understand the debugger (what constitutes a full set of output), but it looks like I might be getting two outputs depending on where I execute that function: -- One: eval((org-inside-LaTeX-fragment p)) eval-expression((org-inside-LaTeX-fragment p) nil) call-interactively(eval-expression nil nil) recursive-edit() byte-code("\306=10 @\307=3D\203! -- The other: eval((org-inside-LaTeX-fragment p)) eval-expression((org-inside-LaTeX-fragment p) nil) call-interactively(eval-expression nil nil) Thoughts? Thanks, John > Regards, > > -- > Nicolas Goaziou > --00151747c0ee10264604b60952b5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Tue, Dec 27, 2011 at 4:43 AM, Nicolas Goaziou= <n.goaziou@gma= il.com> wrote:
Hello,

John Hendy <jw.hendy@gmail.com= > writes:

> I'm experiencing an issue similar to this one:
> --- http://osdir.com/ml/emacs-orgmode-gnu/2011-10/msg00= 544.html
>
> I have a paragraph in which I reference a dollar amount (preceded by &= quot;$").
> Attempting to insert a footnote anywhere in that paragraph gets me the=
> error "Cannot insert a footnote here."

[...]

> Any suggestions?

Yes: Can you provide an ECM (Complete Minimal Example), and tell the
version of Org you're using?


Sure. Here you are:

-- M-x org-version:=C2=A0Org-mode version 7.8.03 (release_7.8.03.61.= g59df6)
-- Emacs: 23.3.1

-- Minimal exam= ple:

#+begin_src orgmode
* Header

Test paragraph where I insert a dollar amount of $100.
<= br>
Test paragraph where I insert a dollar amount of \$100.

Test paragraph where I insert a dollar amount of 100.[f= n:1]

* Footnotes

[fn:1] S= uccessful; the first two give the error 'Cannot insert a footnote here&= #39;
#+end_src

=C2=A0
Also, does M-: (org-inside-LaTeX-fragment-p) return coherent values
(that is nil when point isn't inside a LaTeX fragment) when evaluated throughout the paragraph?


I don't necessarily understand the= debugger (what constitutes a full set of output), but it looks like I migh= t be getting two outputs depending on where I execute that function:

-- One:
=C2=A0 eval((org-inside-LaTeX-fr= agment p))
=C2=A0 eval-expression((org-inside-LaTeX-fragment p) n= il)
=C2=A0 call-interactively(eval-expression nil nil)
= =C2=A0 recursive-edit()
=C2=A0 byte-code("\306=10 @\307=3D\203!

-- Th= e other:
=C2=A0 eval((org-inside-LaTeX-fragment p))
=C2=A0 eval-expression((org-inside-LaTeX-fragment p) nil)
=C2=A0 call-interactively(eval-expression nil nil)
=C2= =A0
Thoughts?


Thanks,
John


Regards,

--
Nicolas Goaziou

--00151747c0ee10264604b60952b5--