From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xu Jingtao Subject: Re: emacs org mode publish to latex failed with strings like "__aaa_cc__" Date: Fri, 18 May 2012 19:41:01 +0800 (CST) Message-ID: <20120518.194101.2178280850066988257.jingtaozf@gmail.com> References: <20120516.191620.425167680073843190.jingtaozf@gmail.com> <7520.1337225934@alphaville> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVLYg-0007su-PR for emacs-orgmode@gnu.org; Fri, 18 May 2012 07:41:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVLYd-0002hs-10 for emacs-orgmode@gnu.org; Fri, 18 May 2012 07:41:22 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:55092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVLYc-0002hh-Nw for emacs-orgmode@gnu.org; Fri, 18 May 2012 07:41:18 -0400 Received: by pbbrp2 with SMTP id rp2so4163515pbb.0 for ; Fri, 18 May 2012 04:41:16 -0700 (PDT) In-Reply-To: <7520.1337225934@alphaville> 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org Hi Nick: I had added the option to my org file. 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. > Xu Jingtao wrote: > > > Hi all: > > > > If I write some string like "__aaa_cc__" in org file,then publish it to pdf using latex, > > it will failed and the output is wrong. > > > > even I can use ~__aaa_cc__~, it's not a good way do it. > > > > Can you fix it or I am wrong? > > By default, underscores indicate subscripts (a tradition that comes from > LaTeX syntax - similarly, carets indicate superscripts). If you don't > want that, you can add > > #+OPTIONS: ^:nil > > at the top of the file: this option disables superscripts and subscripts. > > See > > (info "(org) Export options") > > Nick > > ___________________________________ With Best Regards. jingtao.