From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [new exporter] problems exporting mathmode to LaTeX Date: Wed, 18 Jul 2012 16:48:10 +0200 Message-ID: <87pq7t2kid.fsf@gmail.com> References: <87txx52ncg.fsf@gmail.com> <23C69956B336A746BD3E1CD955C7A69945BDAE2045@SI-MBX03.de.bosch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrVb5-0000Zi-9o for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 10:51:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrVb4-0003U4-6I for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 10:51:27 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:57548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrVb3-0003U0-Ue for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 10:51:26 -0400 Received: by wgbez12 with SMTP id ez12so1049806wgb.30 for ; Wed, 18 Jul 2012 07:51:25 -0700 (PDT) In-Reply-To: <23C69956B336A746BD3E1CD955C7A69945BDAE2045@SI-MBX03.de.bosch.com> (Holst Thomas's message of "Wed, 18 Jul 2012 16:18:46 +0200") 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: "Holst Thomas (DGS-EC/ESE4)" Cc: Orgmode Hello, "Holst Thomas (DGS-EC/ESE4)" writes: > Perhaps there is a misunderstanding.=20 There was. Now I get it. > So it isn't about blocks. It is about LaTeX-fragments in org files. Actually, it isn't about LaTeX-fragments but entities. Your first line contains a LaTeX-fragment: it appears (correctly) as-is in the LaTeX output. Though, the second line has an entity, \circ (see `org-entities' variable), which is going to be replaced with "\^{}", as suggested by the variable. I think that's not what you expect. It seems that there is no Org entity providing \circ LaTeX symbol. Maybe one should be added, if only to compose functions. On the other hand, for your specific case, there is the "deg" entity that may fit your needs. I.e.=E2=81=A1=E2=81=A1=E2=81=A1 -11\deg\nbsp{}C You can also enforce \circ by making it a real LaTeX-fragment. I.e. -11^{$\circ$}\nbsp{}C As a final note, it seems there is still a bug in the new exporter, since the expected output should be: -11$^{\^{}}$~C There shouldn't be a \mathrm{} for a single command. I am going to fix it. Regards, --=20 Nicolas Goaziou