From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Umlauts in LaTeX export Date: Wed, 03 Nov 2010 08:50:00 -0700 Message-ID: <87sjzibe53.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=36180 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDfaH-00005P-1W for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 11:49:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDfa2-0002Rz-LR for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 11:48:55 -0400 Received: from lo.gmane.org ([80.91.229.12]:35632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDfa2-0002Rh-Em for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 11:48:54 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PDfZy-00046H-Dg for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 16:48:50 +0100 Received: from c-67-164-33-170.hsd1.ca.comcast.net ([67.164.33.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Nov 2010 16:48:50 +0100 Received: from richard.lawrence by c-67-164-33-170.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Nov 2010 16:48:50 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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