From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sunny Srivastava Subject: Re: Umlauts in LaTeX export Date: Wed, 3 Nov 2010 12:56:07 -0400 Message-ID: References: <87sjzibe53.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2063558118==" Return-path: Received: from [140.186.70.92] (port=33247 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDgrl-0006C0-TL for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 13:11:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDgd8-0006I7-Go for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 12:56:11 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:49348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDgd8-0006I1-B6 for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 12:56:10 -0400 Received: by ewy25 with SMTP id 25so417335ewy.0 for ; Wed, 03 Nov 2010 09:56:09 -0700 (PDT) In-Reply-To: <87sjzibe53.fsf@berkeley.edu> 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: Richard Lawrence Cc: emacs-orgmode@gnu.org --===============2063558118== Content-Type: multipart/alternative; boundary=0015174c38e2ebb7ac049428ea0b --0015174c38e2ebb7ac049428ea0b Content-Type: text/plain; charset=ISO-8859-1 Thanks Richard, I had the same issue! I can definitely use your solution! S. On Wed, Nov 3, 2010 at 11:50 AM, Richard Lawrence < richard.lawrence@berkeley.edu> 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 > --0015174c38e2ebb7ac049428ea0b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Richard,
I had the same issue! I can definitely use your solutio= n!

S.

On Wed, No= v 3, 2010 at 11:50 AM, Richard Lawrence <richard.lawrence@berkeley.edu> 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. =A0(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 `&q= uot;'
specially, this will be exported to LaTeX as:

G\''\{o\}del

It isn't sufficient to surround the \"{o} with math mode delimiter= s, 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 produc= e
output in math mode. =A0(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! =A0And 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

--0015174c38e2ebb7ac049428ea0b-- --===============2063558118== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============2063558118==--