From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Problem with latex and footnotes Date: Fri, 08 Jul 2011 14:26:40 -0400 Message-ID: <1819.1310149600@alphaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfFlU-0000Rz-CU for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 14:27:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfFlT-0003II-9W for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 14:27:00 -0400 Received: from vms173009pub.verizon.net ([206.46.173.9]:36713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfFlT-0003Hm-3t for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 14:26:59 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LO10050A1WGJH70@vms173009.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 13:26:46 -0500 (CDT) In-reply-to: Message from Rafael Calsaverini of "Fri, 08 Jul 2011 15:15:49 -0300." 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: Rafael Calsaverini Cc: nicholas.dokos@hp.com, Lista - org-mode Rafael Calsaverini 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