[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [new exporter] problems exporting mathmode to LaTeX
From: |
Thomas Holst |
Subject: |
Re: [O] [new exporter] problems exporting mathmode to LaTeX |
Date: |
Thu, 19 Jul 2012 08:48:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) |
Hi Niclolas,
thanks for your answer and explaination.
· Nicolas Goaziou <address@hidden> wrote:
> Hello,
>
> "Holst Thomas (DGS-EC/ESE4)" <address@hidden> writes:
>
>> Perhaps there is a misunderstanding.
>
> 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.
>
> -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.
>
> 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.
--
Bis neulich ...
Thomas