From: Richard Lawrence <richard.lawrence@berkeley.edu>
To: emacs-orgmode@gnu.org
Subject: Umlauts in LaTeX export
Date: Wed, 03 Nov 2010 08:50:00 -0700 [thread overview]
Message-ID: <87sjzibe53.fsf@berkeley.edu> (raw)
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
next reply other threads:[~2010-11-03 15:49 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-03 15:50 Richard Lawrence [this message]
2010-11-03 16:56 ` Umlauts in LaTeX export Sunny Srivastava
2010-11-03 17:35 ` Stefan Vollmar
2010-11-03 17:51 ` Jean-Marie Gaillourdet
2010-11-03 18:45 ` Stefan Vollmar
2010-11-03 20:08 ` Eric S Fraga
2010-11-03 20:15 ` Stefan Vollmar
2010-11-04 3:14 ` Richard Lawrence
2010-11-04 7:10 ` Stefan Vollmar
2010-11-04 3:51 ` Nick Dokos
2010-11-04 4:19 ` Differences in headline exports [was: Umlauts in LaTeX export] Richard Lawrence
2010-11-04 11:16 ` Umlauts in LaTeX export Eric S Fraga
2010-11-04 12:01 ` Nick Dokos
2010-11-05 5:15 ` german-postfix and speedkeys (was: Umlauts in LaTeX export) Memnon Anon
2010-11-05 11:10 ` german-postfix and speedkeys Jean-Marie Gaillourdet
2010-11-07 12:00 ` Memnon Anon
2010-11-03 17:54 ` Umlauts in LaTeX export Magnus Henoch
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=87sjzibe53.fsf@berkeley.edu \
--to=richard.lawrence@berkeley.edu \
--cc=emacs-orgmode@gnu.org \
/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).