From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: LaTeX export: inline markup underscore problem Date: Sun, 10 Apr 2011 10:45:02 -1000 Message-ID: <63F0C433-3616-4517-A1CF-D758F3B88086@tsdye.com> References: <1112.1302466080@alphaville.dokosmarshall.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=38006 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q91VO-00066P-D9 for emacs-orgmode@gnu.org; Sun, 10 Apr 2011 16:45:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q91VN-0006h6-3m for emacs-orgmode@gnu.org; Sun, 10 Apr 2011 16:45:10 -0400 Received: from cpoproxy3-pub.bluehost.com ([67.222.54.6]:47954) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Q91VM-0006ga-Sb for emacs-orgmode@gnu.org; Sun, 10 Apr 2011 16:45:09 -0400 In-Reply-To: <1112.1302466080@alphaville.dokosmarshall.org> 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: nicholas.dokos@hp.com Cc: Mauro Rovezzi , emacs-orgmode@gnu.org Aloha Nick, The code the OP cited passes desc to \cite{}. The code I pointed to passes path to \cite{}. It does this to get around the problem of escaped underscores, if I remember correctly. In any case, I use this code with bibliography keys that include underscores, so it should work for the OP. All the best, Tom On Apr 10, 2011, at 10:08 AM, Nick Dokos wrote: > Thomas S. Dye wrote: > >> Aloha Mauro, >> >> Please see >> >> http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-17_2 >> > > Excuse the intrusion, but I don't see anything in there that looks > like > a solution to the OP's problem (the undesired quoting of the > underscore > when exporting the org file to LaTeX): what am I missing? > > I was going to suggest that life would be much easier for the OP if he > could change all underscores to some other character in his > bibliography > (I often see colons and minus signs used e.g.) That may or may not be > possible of course, but if it is possible, it would be the simplest > solution: the treatment of _ in the LaTeX exporter is often the source > of frustration. That is not the fault of the exporter of course: TeX > makes it very complicated to determine what the right thing to do is. > > Nick > >