From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Shi Subject: Re: Orgmode LaTeX export special character in Title Date: Fri, 3 Jun 2011 13:23:05 -0400 Message-ID: References: <4111.1307069728@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00221597512eae02c204a4d201d6 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSY5T-0006Jg-TY for emacs-orgmode@gnu.org; Fri, 03 Jun 2011 13:23:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSY5S-0003Mr-LK for emacs-orgmode@gnu.org; Fri, 03 Jun 2011 13:23:07 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:52307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSY5S-0003Mk-8f for emacs-orgmode@gnu.org; Fri, 03 Jun 2011 13:23:06 -0400 Received: by wwb39 with SMTP id 39so1594977wwb.30 for ; Fri, 03 Jun 2011 10:23:05 -0700 (PDT) In-Reply-To: <4111.1307069728@alphaville.dokosmarshall.org> 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: nicholas.dokos@hp.com Cc: emacs-orgmode --00221597512eae02c204a4d201d6 Content-Type: text/plain; charset=ISO-8859-1 Hi Nick, Thanks for your reply. I updated my org to 7.5 and the $D$ worked in the title. However, if I use \(D\) in the title, it says: undefined control sequence I tried \( ... \) in body, its OK. Xin On Thu, Jun 2, 2011 at 10:55 PM, Nick Dokos wrote: > Xin Shi wrote: > > > If I want to export to LaTeX with the math symbols in the title: > > > > #+TITLE: This is a test for $D$ > > > > I get the $D$ in the PDF. Are there any way to let it behave the same as > in > > the body for the title? > > > > This works fine here: > > GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) > Org-mode version 7.5 (baseline.263.gcf708) > > Carsten pushed a fix back in November of last year. If your org-mode is > older, > it's time to upgrade. > > NB: it's probably a better practice to use the \(...\) inline math > delimiters instead > of $...$ > > Nick > --00221597512eae02c204a4d201d6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Nick,

Thanks for your reply. =A0I updated my org to 7= .5 and the $D$ worked in the title. However, if I use \(D\) in the title, i= t says:
undefined control sequence

I tri= ed \( ... \) in body, its OK.=A0

Xin


On Thu= , Jun 2, 2011 at 10:55 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
Xin Shi <shixin111@gmail.com> wrote:

> If I want to export to LaTeX with the math symbols in the title:
>
> #+TITLE: =A0This is a test for $D$
>
> I get the $D$ in the PDF. Are there any way to let it behave the same = as in
> the body for the title?
>

This works fine here:

GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
Org-mode version 7.5 (baseline.263.gcf708)

Carsten pushed a fix back in November of last year. If your org-mode is old= er,
it's time to upgrade.

NB: it's probably a better practice to use the \(...\) inline math deli= miters instead
of $...$

Nick

--00221597512eae02c204a4d201d6--