[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Umlauts in LaTeX export
From: |
Richard Lawrence |
Subject: |
[Orgmode] Umlauts in LaTeX export |
Date: |
Wed, 03 Nov 2010 08:50:00 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hi all,
I don't think this is a bug so much as an unfortunate consequence of
expected behavior, but I wanted to document it here for the sake of
future mailing list searches, because I didn't find anything about it
myself. (If someone has a better solution than the one I propose,
please clue me in!)
To add an umlaut/trema/diaeresis to a letter in LaTeX, I use the \"
command, as in:
G\"{o}del
Unfortunately, due to the fact that Org export treats both `{}' and `"'
specially, this will be exported to LaTeX as:
G\''\{o\}del
It isn't sufficient to surround the \"{o} with math mode delimiters, e.g.,
G\(\"{o}\)del
even though this will prevent Org from escaping the brackets and
converting the double-quote, because the command doesn't seem to produce
output in math mode. (The compiled file will read "Gdel".)
So, the work-around I've come up with is to use an \mbox inside math
mode, which prevents Org from doing the escapes/conversions:
G\(\mbox{\"{o}}\)del
A bit ugly, but it produces the correct output.
Hope that helps someone! And again, if there's a better way, please let
me know!
Best,
Richard
- [Orgmode] Umlauts in LaTeX export,
Richard Lawrence <=
- Re: [Orgmode] Umlauts in LaTeX export, Sunny Srivastava, 2010/11/03
- Re: [Orgmode] Umlauts in LaTeX export, Stefan Vollmar, 2010/11/03
- Re: [Orgmode] Umlauts in LaTeX export, Jean-Marie Gaillourdet, 2010/11/03
- Re: [Orgmode] Umlauts in LaTeX export, Stefan Vollmar, 2010/11/03
- Re: [Orgmode] Umlauts in LaTeX export, Eric S Fraga, 2010/11/03
- Re: [Orgmode] Umlauts in LaTeX export, Stefan Vollmar, 2010/11/03
- [Orgmode] Re: Umlauts in LaTeX export, Richard Lawrence, 2010/11/03
- Re: [Orgmode] Re: Umlauts in LaTeX export, Stefan Vollmar, 2010/11/04
- Re: [Orgmode] Umlauts in LaTeX export, Nick Dokos, 2010/11/03
- [Orgmode] Re: Differences in headline exports [was: Umlauts in LaTeX export], Richard Lawrence, 2010/11/04