emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Disabling overstrike (+) inside formulas
Date: Tue, 6 May 2014 23:40:28 +0200	[thread overview]
Message-ID: <20140506214028.GD3591@chitra.no-ip.org> (raw)
In-Reply-To: <87ppjrawxh.fsf@syk.fi>

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.

      reply	other threads:[~2014-05-06 21:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-06 12:55 Disabling overstrike (+) inside formulas Jarmo Hurri
2014-05-06 21:40 ` Suvayu Ali [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140506214028.GD3591@chitra.no-ip.org \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).