all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: LaTeX-export: letters after $..$ turn off math-mode
Date: Sat, 16 Feb 2013 16:26:30 +0100	[thread overview]
Message-ID: <87zjz41dqx.fsf@pank.iue.private> (raw)
In-Reply-To: 877gm8mirq.fsf@bzg.ath.cx

Bastien <bzg@altern.org> 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

  reply	other threads:[~2013-02-16 15:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-04 11:51 LaTeX-export: letters after $..$ turn off math-mode Greg Minshall
2013-02-15 22:04 ` Bastien
2013-02-16  7:25   ` Nicolas Goaziou
2013-02-16 11:48     ` Nicolas Goaziou
2013-02-16 16:33       ` Nick Dokos
2013-02-16 16:45         ` Nick Dokos
2013-02-16 14:32     ` Bastien
2013-02-16 15:26       ` Rasmus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-02-06 18:32 Daniel Schoepe
2012-02-06 19:23 ` Achim Gratz

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

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

  git send-email \
    --in-reply-to=87zjz41dqx.fsf@pank.iue.private \
    --to=rasmus@gmx.us \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.