emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Umlauts in LaTeX export
@ 2010-11-03 15:50 Richard Lawrence
  2010-11-03 16:56 ` Sunny Srivastava
  2010-11-03 17:35 ` Stefan Vollmar
  0 siblings, 2 replies; 17+ messages in thread
From: Richard Lawrence @ 2010-11-03 15:50 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2010-11-07 12:00 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-03 15:50 Umlauts in LaTeX export Richard Lawrence
2010-11-03 16:56 ` 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

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).