From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: parsing latex ``$\mathit{math}$'' in export [9.0.5 (release_9.0.5-474-g942b62 @ /home/joe/org-mode/lisp/)] Date: Sat, 13 May 2017 09:24:07 +0200 Message-ID: <87ziehz0bs.fsf@nicolasgoaziou.fr> References: <87inl619bg.fsf@gmail.com> <874lwq13xo.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9RPT-0001kq-Bz for emacs-orgmode@gnu.org; Sat, 13 May 2017 03:24:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9RPP-0003Nz-Fi for emacs-orgmode@gnu.org; Sat, 13 May 2017 03:24:15 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:33662) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d9RPP-0003Nj-9e for emacs-orgmode@gnu.org; Sat, 13 May 2017 03:24:11 -0400 In-Reply-To: (Joe Corneli's message of "Fri, 12 May 2017 19:06:44 +0100") 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: Joe Corneli Cc: Org-mode mailing list Hello, Joe Corneli writes: > On Fri, May 12, 2017 at 4:37 PM, Nicolas Goaziou wrote: > > >> I'm not convinced it is worth changing the syntax class of "'" or even >> making a special case for "'". You can get rid of this problem using >> \(P\) instead. > > Thanks for suggesting this work around, I didn't know that bit of > syntax! After sleeping over the idea, I eventually allowed the apostrophe after $...$ as it was the case some time ago. My suggestion still holds, though, as \(...\) syntax is much more predictable than $...$. By the way, instead of writing ``...'', you may be interested in `org-export-with-smart-quotes' and use "..." instead. Regards, -- Nicolas Goaziou