From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: emacs org mode publish to latex failed with strings like "__aaa_cc__" Date: Fri, 18 May 2012 13:54:27 +0200 Message-ID: <87ehqhyaa4.fsf@gmail.com> References: <20120516.191620.425167680073843190.jingtaozf@gmail.com> <7520.1337225934@alphaville> <20120518.194101.2178280850066988257.jingtaozf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVLoG-0001CO-O6 for emacs-orgmode@gnu.org; Fri, 18 May 2012 07:57:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVLoC-0005hl-3h for emacs-orgmode@gnu.org; Fri, 18 May 2012 07:57:28 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:52951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVLoB-0005hg-Qb for emacs-orgmode@gnu.org; Fri, 18 May 2012 07:57:24 -0400 Received: by wibhm14 with SMTP id hm14so60011wib.12 for ; Fri, 18 May 2012 04:57:21 -0700 (PDT) In-Reply-To: <20120518.194101.2178280850066988257.jingtaozf@gmail.com> (Xu Jingtao's message of "Fri, 18 May 2012 19:41:01 +0800 (CST)") 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: Xu Jingtao Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org 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. Nevertheless, I think it would be useful to have an entity for underscore character. Something like: ("us" "\\_" nil "_" "_" "_" "_") Regards, -- Nicolas Goaziou