emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Rafael Calsaverini <rafael.calsaverini@gmail.com>
Cc: nicholas.dokos@hp.com, Lista - org-mode <emacs-orgmode@gnu.org>
Subject: Re: Problem with latex and footnotes
Date: Fri, 08 Jul 2011 14:26:40 -0400	[thread overview]
Message-ID: <1819.1310149600@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Rafael Calsaverini <rafael.calsaverini@gmail.com> of "Fri, 08 Jul 2011 15:15:49 -0300." <CANWCfq+_CzTDxgv4G7WMOa6Ut54T1rds1nrBYQA_3840zCqedw@mail.gmail.com>

Rafael Calsaverini <rafael.calsaverini@gmail.com> wrote:

> Hi. I'm noticed a problem with latex equations and footnotes. I'm not
> sure, but I believe it started after I downloaded the newest version
> of org-mode.
> 
> When I try to export a $...$ block that is inside a footnote, the
> latex file end up with \$...\$ instead of $...$. As an example, this:
> 
> #+LaTeX_CLASS: article
> 
> * test
>   This is just a test [fn:test].
> 
> [fn:test] This is an equation: $x = y$.
> 
> 

This works:

--8<---------------cut here---------------start------------->8---
#+LaTeX_CLASS: article

* test
  This is just a test [fn:test].

[fn:test] This is an equation: \(x = y\).
--8<---------------cut here---------------end--------------->8---

It is generally a good idea (and not just in org-mode) to avoid $...$
and $$...$$ for math. The recommended way is \(...\) for inline equations
and \[...\] for diplayed math.

Nick

  reply	other threads:[~2011-07-08 18:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-08 18:15 Problem with latex and footnotes Rafael Calsaverini
2011-07-08 18:26 ` Nick Dokos [this message]
2011-07-09  0:36   ` Rafael Calsaverini

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=1819.1310149600@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rafael.calsaverini@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).