From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Randby Subject: Re: Multiple underscores crash org latex export; other exporters survive Date: Sat, 3 Dec 2016 16:24:33 -0500 Message-ID: <49b70a0c-f81b-660b-e2f5-9921ab488d65@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDHnZ-0003Dy-Ic for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 16:24:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDHnY-0004Zw-Pb for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 16:24:45 -0500 Received: from mail-io0-x22b.google.com ([2607:f8b0:4001:c06::22b]:34867) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDHnY-0004ZP-Gw for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 16:24:44 -0500 Received: by mail-io0-x22b.google.com with SMTP id a124so538753351ioe.2 for ; Sat, 03 Dec 2016 13:24:43 -0800 (PST) Received: from ?IPv6:2605:a000:121e:ca:2fad:8ebe:280a:af39? ([2605:a000:121e:ca:2fad:8ebe:280a:af39]) by smtp.gmail.com with ESMTPSA id f142sm4382107iof.44.2016.12.03.13.24.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Dec 2016 13:24:41 -0800 (PST) In-Reply-To: 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" To: emacs-orgmode@gnu.org On 12/03/2016 02:40 PM, Scott Otterson wrote: > When an org file contains a string with more than one underscore, the > orgmode export result will crash latex (example attached). On the > other hand, the org html export does finish successfully, and while > result is odd, it's odd in a way that makes the problem visible and easy > to identify. I exported your file using LaTeX export without trouble. The result does look odd, but that is because the string you gave is missing the braces needed to make it export properly. The output messages warn that the string contains a double subscript, so the problem is with the string and not Org's LaTeX export. Your string: a_variable_deleteThisAndItWorks Properly formed string: a_{variable_{deleteThisAndItWorks}} Scott Randby > > Many people have orgfiles with heavily underscored code snippets buried > deep inside. To them, the latex crashes are probably as mysterious as > they were to me. So I'd like to suggest that the org latex exporter > adopt something like the org html exporter behavior. > >