Re: [O] Disabling overstrike (+) inside formulas

2014-05-06 Thread Suvayu Ali
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.



[O] Disabling overstrike (+) inside formulas

2014-05-06 Thread Jarmo Hurri

Greetings.

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?

All the best,

Jarmo