emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Footnotes issue with LaTeX export
Date: Sun, 8 Jan 2012 13:30:54 -0600	[thread overview]
Message-ID: <CA+M2ft8_uDJPJWDhXEYGJqrh+77z61hzCbeT6uNzo4MuvWdQRA@mail.gmail.com> (raw)
In-Reply-To: <87r4zq8fd6.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1882 bytes --]

On Tue, Dec 27, 2011 at 4:43 AM, Nicolas Goaziou <n.goaziou@gmail.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/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\x10 @\307=\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
>

[-- Attachment #2: Type: text/html, Size: 3242 bytes --]

  reply	other threads:[~2012-01-08 19:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-27  0:15 Footnotes issue with LaTeX export John Hendy
2011-12-27 10:43 ` Nicolas Goaziou
2012-01-08 19:30   ` John Hendy [this message]
2012-01-09  7:05     ` Nicolas Goaziou
2012-01-09 13:56       ` John Hendy
2012-01-09 17:31         ` Nicolas Goaziou
2012-01-09 17:56           ` John Hendy
2012-01-09 17:49         ` Eric S Fraga

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=CA+M2ft8_uDJPJWDhXEYGJqrh+77z61hzCbeT6uNzo4MuvWdQRA@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /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).