From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: emacs org mode publish to latex failed with strings like "__aaa_cc__" Date: Fri, 18 May 2012 08:04:50 -0400 Message-ID: <7211.1337342690@alphaville> References: <20120516.191620.425167680073843190.jingtaozf@gmail.com> <7520.1337225934@alphaville> <20120518.194101.2178280850066988257.jingtaozf@gmail.com> <87ehqhyaa4.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVLvX-0002wg-Qb for emacs-orgmode@gnu.org; Fri, 18 May 2012 08:05:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVLvT-0007ZZ-4I for emacs-orgmode@gnu.org; Fri, 18 May 2012 08:04:59 -0400 Received: from g6t0184.atlanta.hp.com ([15.193.32.61]:12468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVLvS-0007Z4-WF for emacs-orgmode@gnu.org; Fri, 18 May 2012 08:04:55 -0400 In-Reply-To: Message from Nicolas Goaziou of "Fri, 18 May 2012 13:54:27 +0200." <87ehqhyaa4.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org, Xu Jingtao Nicolas Goaziou wrote: > Hello, > > Xu Jingtao writes: > > > What I want to ensure is that this is maybe a bug of emacs org mode. > > > > I know "_a string_" will try to convert to underline string in latex, > > by emacs variable org-export-latex-emphasis-alist. > > Maybe this is why it is translated into wrong latex codes. > > Why is it wrong LaTeX code? You're asking Org to put an underline there, > and there you have. > The old exporter latex output doesn't compile. I tried the new exporter does it correctly, with either setting of the option. Nick > Nevertheless, I think it would be useful to have an entity for > underscore character. Something like: > > ("us" "\\_" nil "_" "_" "_" "_") > >