From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Holst Subject: Re: [new exporter] problems exporting mathmode to LaTeX Date: Thu, 19 Jul 2012 08:48:13 +0200 Message-ID: References: <87txx52ncg.fsf@gmail.com> <23C69956B336A746BD3E1CD955C7A69945BDAE2045@SI-MBX03.de.bosch.com> <87pq7t2kid.fsf@gmail.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]:50833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrkXJ-0007db-7J for emacs-orgmode@gnu.org; Thu, 19 Jul 2012 02:48:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrkXD-0001lW-BK for emacs-orgmode@gnu.org; Thu, 19 Jul 2012 02:48:33 -0400 Received: from smtp2-v.fe.bosch.de ([139.15.237.6]:12783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrkXD-0001lR-56 for emacs-orgmode@gnu.org; Thu, 19 Jul 2012 02:48:27 -0400 In-Reply-To: <87pq7t2kid.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 18 Jul 2012 16:48:10 +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: Nicolas Goaziou Cc: "Holst Thomas (DGS-EC/ESE4)" , Orgmode Hi Niclolas, thanks for your answer and explaination. =C2=B7 Nicolas Goaziou wrote: > 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 This works fine. > > You can also enforce \circ by making it a real LaTeX-fragment. I.e. > > -11^{$\circ$}\nbsp{}C This also works fine.=20 > > 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. Thanks for looking into it and fixing it. --=20 Bis neulich ... Thomas