From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Disabling overstrike (+) inside formulas Date: Tue, 6 May 2014 23:40:28 +0200 Message-ID: <20140506214028.GD3591@chitra.no-ip.org> References: <87ppjrawxh.fsf@syk.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Whn6Q-0000uU-F0 for emacs-orgmode@gnu.org; Tue, 06 May 2014 17:40:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Whn6H-000611-Ga for emacs-orgmode@gnu.org; Tue, 06 May 2014 17:40:42 -0400 Received: from mail-ee0-x235.google.com ([2a00:1450:4013:c00::235]:49529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Whn6G-0005zi-UY for emacs-orgmode@gnu.org; Tue, 06 May 2014 17:40:33 -0400 Received: by mail-ee0-f53.google.com with SMTP id c13so139340eek.40 for ; Tue, 06 May 2014 14:40:32 -0700 (PDT) Received: from chitra.no-ip.org (sd44012d5.adsl.online.nl. [212.64.18.213]) by mx.google.com with ESMTPSA id a4sm41729101eep.12.2014.05.06.14.40.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 May 2014 14:40:31 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87ppjrawxh.fsf@syk.fi> 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 On Tue, May 06, 2014 at 03:55:38PM +0300, Jarmo Hurri wrote: > > I have LaTeX macros in which I regularly use a plus sign in a > parameter. This is currently interpreted as an attempt to overstrike in > org: > > ---------------------------------------------------------------------- > * testing > $1\text{+}2$ creates an overstrike $\text{+}$ > ---------------------------------------------------------------------- > > Would it be possible to turn off (by default) the interpretation of + > as an overstrike delimiter inside a formula? Conditionally disabling it should be possible using filters, but I think it can be very clunky and could break from time to time. If you do not use strike-throughs, I would suggest turning it off entirely. I think (my Org-foo is a bit rusty) you can do that by removing it from `org-emphasis-alist'. Hope this helps, -- Suvayu Open source is the future. It sets us free.