emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Holst <thomas.holst@de.bosch.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: "Holst Thomas (DGS-EC/ESE4)" <Thomas.Holst@de.bosch.com>,
	Orgmode <emacs-orgmode@gnu.org>
Subject: Re: [new exporter] problems exporting mathmode to LaTeX
Date: Thu, 19 Jul 2012 08:48:13 +0200	[thread overview]
Message-ID: <ywodwr20xn4i@de.bosch.com> (raw)
In-Reply-To: <87pq7t2kid.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 18 Jul 2012 16:48:10 +0200")

Hi Niclolas,

thanks for your answer and explaination.

· Nicolas Goaziou <n.goaziou@gmail.com> wrote:

> Hello,
>
> "Holst Thomas (DGS-EC/ESE4)" <Thomas.Holst@de.bosch.com> 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

      reply	other threads:[~2012-07-19  6:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18 10:13 [new exporter] problems exporting mathmode to LaTeX Thomas Holst
2012-07-18 11:48 ` Giovanni Ridolfi
2012-07-18 13:46 ` Nicolas Goaziou
2012-07-18 14:18   ` Holst Thomas (DGS-EC/ESE4)
2012-07-18 14:48     ` Nicolas Goaziou
2012-07-19  6:48       ` Thomas Holst [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ywodwr20xn4i@de.bosch.com \
    --to=thomas.holst@de.bosch.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).