emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Vollmar <vollmar@nf.mpg.de>
To: Richard Lawrence <richard.lawrence@berkeley.edu>
Cc: emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Umlauts in LaTeX export
Date: Wed, 03 Nov 2010 18:35:07 +0100	[thread overview]
Message-ID: <26AC1DD2-BF5D-4D61-930D-50B2D9DF7A5C@nf.mpg.de> (raw)
In-Reply-To: <87sjzibe53.fsf@berkeley.edu>


[-- Attachment #1.1: Type: text/plain, Size: 2273 bytes --]

Dear Richard,

sitting in front of a German keyboard, writing 

Gödel

seems to be the obvious solution for modern LaTeX and Emacs versions - you could define some shortcut to insert the appropriate Unicode character into your text (as your keyboard probably does not feature a "ö" key), or copy/paste the Umlauts from another Emacs file as necessary. If you do not need it very often, this might be a reasonable alternative. 

Warm regards,
 Stefan

On 03.11.2010, at 16:50, Richard Lawrence wrote:

> 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
> 
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar@nf.mpg.de   http://www.nf.mpg.de







[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4409 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2010-11-03 17:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=26AC1DD2-BF5D-4D61-930D-50B2D9DF7A5C@nf.mpg.de \
    --to=vollmar@nf.mpg.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=richard.lawrence@berkeley.edu \
    /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).