From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: LaTeX-export: letters after $..$ turn off math-mode Date: Sat, 16 Feb 2013 16:26:30 +0100 Message-ID: <87zjz41dqx.fsf@pank.iue.private> References: <85272.1359978716@greg-minshalls-mbp.local> <87mwv58c8n.fsf@bzg.ath.cx> <87bobk7m9l.fsf@gmail.com> <877gm8mirq.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6jfG-0003b0-Im for emacs-orgmode@gnu.org; Sat, 16 Feb 2013 10:27:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6jfF-00059A-Fb for emacs-orgmode@gnu.org; Sat, 16 Feb 2013 10:26:58 -0500 Received: from plane.gmane.org ([80.91.229.3]:53462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6jfF-00058p-8t for emacs-orgmode@gnu.org; Sat, 16 Feb 2013 10:26:57 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U6jfS-00024d-0c for emacs-orgmode@gnu.org; Sat, 16 Feb 2013 16:27:10 +0100 Received: from host145-214-static.82-94-b.business.telecomitalia.it ([94.82.214.145]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Feb 2013 16:27:10 +0100 Received: from rasmus by host145-214-static.82-94-b.business.telecomitalia.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Feb 2013 16:27:10 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien writes: > FWIW I'm not in favor of removing the ability to inline $x^2$ > and to deprecate the use of $ completely. If this flexibility > is not too problematic (from a maintainance point of view), I'd > say it's fine to keep it. While I agree that \(·\) is the preferred and Rightᵀᴹ delimiter pair I almost always use $·$ in place if I can get away with it. Thus, if the maintenance cost is low I would prefer if it stayed. Using the patch posted by Nicolas last week (i.e. (re)introducing org-highlight-latex-and-special) there's even visual feedback as to when Org will correctly identify $·$. /If/ a mechanism existed to easily use \(·\) I would be all for ditching $·$ as it clearly inferior (legacy documents can quickly be fixed via a regexp replacement, if needed). For instance, in ESS there is ess-smart-underscore where, depending on the context, pressing "_" will usually do the right thing. For Instance $ could insert \(·\) or $ first (depending on the variable org-export-care-about-usd). On region it would always put it inside \(·\). But it might be messy, I'm not really sure. –Rasmus -- C is for Cookie