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: Sun, 4 Dec 2016 11:03:46 -0500 Message-ID: References: <49b70a0c-f81b-660b-e2f5-9921ab488d65@gmail.com> <50e77033-c13c-c0be-5d4a-ec5c107e93ae@gmail.com> <87bmwsatox.fsf@nicolasgoaziou.fr> 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]:52239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDZGd-0003T5-Pj for emacs-orgmode@gnu.org; Sun, 04 Dec 2016 11:03:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDZGd-0004nc-0L for emacs-orgmode@gnu.org; Sun, 04 Dec 2016 11:03:55 -0500 Received: from mail-qt0-x236.google.com ([2607:f8b0:400d:c0d::236]:35431) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDZGc-0004mh-Os for emacs-orgmode@gnu.org; Sun, 04 Dec 2016 11:03:54 -0500 Received: by mail-qt0-x236.google.com with SMTP id c47so294044622qtc.2 for ; Sun, 04 Dec 2016 08:03:54 -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 s65sm7441299qtd.2.2016.12.04.08.03.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Dec 2016 08:03:52 -0800 (PST) In-Reply-To: <87bmwsatox.fsf@nicolasgoaziou.fr> 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/04/2016 05:13 AM, Nicolas Goaziou wrote: > Scott Randby writes: > >> There is an interesting issue here. I sometimes want to use ~ in a code >> snippet, so I can't use ~code snippet~. Yet, > > Indeed, this was discussed in this ML. We need some escape character in > Org. A general escape character is a bit ambitious, and not necessarily > useful, but we could introduce one specifically for verbatim and code > markers, much like in macros and verbatim blocks, e.g. > > ~some\~code\=with special\\ characters~ > > There is a design decision involved: what character can be escaped? It > could be anything, or limit to "~" for code and "=" for verbatim > markers. For example macros limit escape-able characters to "," and "\". > This makes the contents easier to read, but the rule is inconsistent. > > Thoughts? I don't think I have a good enough technical understanding of the issue to provide constructive thoughts. I've adapted to using Org markup when it works and specifying literal LaTeX when necessary. I don't need to specify literal LaTeX very often anyway. >> I've wondered why \verb isn't exported correctly without specifying it >> as literal LaTeX, > > It's because Org recognize LaTeX commands only if they are followed by > a blank character, the end of buffer, or "{}", which is not the case > with \verb@...@. Now I understand. Thanks. Scott