emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Alan L Tyree <alantyree@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: $ in paragraph -- footnote problem
Date: Wed, 31 Jul 2013 14:50:32 +0200	[thread overview]
Message-ID: <87a9l228rr.fsf@gmail.com> (raw)
In-Reply-To: <51F845BC.8080809@gmail.com> (Alan L. Tyree's message of "Wed, 31 Jul 2013 09:01:16 +1000")

Hello,

Alan L Tyree <alantyree@gmail.com> writes:

> I have a paragraph with a $120,000 in it. At any point after the
> $ sign, org will not let me insert a footnote, giving the message
> "Cannot insert a footnote here". Removing the $ allows a footnote, but
> replacing the $ disables it. Adding another currency figure to the
> paragraph changes nothing.
>
> Is this a bug or a problem with my setup?

This is a known limitation of `org-footnote-in-valid-context-p', which
relies on `org-inside-LaTeX-fragment-p' (see its docstring). It should
use `org-inside-complete-LaTeX-fragment-p', which doesn't exist yet[1].


Regards,

[1] Well, there is:

  (memq (org-element-type (org-element-context))
        '(latex-environment latex-fragment))

but this is not an option at the moment.

-- 
Nicolas Goaziou

      reply	other threads:[~2013-07-31 12:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-30 23:01 $ in paragraph -- footnote problem Alan L Tyree
2013-07-31 12:50 ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a9l228rr.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=alantyree@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).