From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Latex-Export with custom commands Date: Wed, 13 Oct 2010 01:53:16 -0400 Message-ID: <21072.1286949196@gamaville.dokosmarshall.org> References: <8011.1286914651@alphaville.usa.hp.com> <4CB547A5.1030405@web.de> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=42929 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5uHL-0005bw-Ba for emacs-orgmode@gnu.org; Wed, 13 Oct 2010 01:53:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5uHK-0004qZ-2F for emacs-orgmode@gnu.org; Wed, 13 Oct 2010 01:53:31 -0400 Received: from vms173003pub.verizon.net ([206.46.173.3]:64341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5uHJ-0004q1-VU for emacs-orgmode@gnu.org; Wed, 13 Oct 2010 01:53:30 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LA7009N2SCSJHX0@vms173003.mailsrvcs.net> for emacs-orgmode@gnu.org; Wed, 13 Oct 2010 00:53:16 -0500 (CDT) In-reply-to: Message from Maximilian Matthe of "Wed, 13 Oct 2010 07:46:13 +0200." <4CB547A5.1030405@web.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Maximilian Matthe Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Maximilian Matthe wrote: > > > Nick Dokos schrieb: > > You cannot expect org to do anything else: how is it supposed to know > > that the \cA is part of a math expression? > > > > > >> Is there some workaround for that behaviour? > >> > >> > > > > The obvious one of telling org (and latex) that these are math expressions > > works fine: > > > > $\cA$ and $\cA^n$ > > > > or (as I prefer to write it): > > > > \(\cA\) and \(\cA^n\) > > > > HTH, > > Nick > > > Hi, > > (why is there no answer directly in the mailing list?) Because I forgot to cc: the list (I tend to do that on a regular basis: apologies). > I know your shown workaround, but I thougt that it would be possible, > to export > > > \cA^n > > as > > $\cA^n$ instead of \cA$^n$. That is, if there is only one sign before > the superscript, org shoud include it into the math-fragment. > I don't think that's possible: it would require a parser of far greater complexity. > Regards, Max > Nick