Fix mathjax treatment of single letters in between dollars.

* lisp/org.el (org-format-latex): Fix mathjax treatment of single letters
in between dollars.
This commit is contained in:
Carsten Dominik 2010-10-10 09:18:24 +02:00
parent 28638b0a7b
commit d0e70e8c81
1 changed files with 1 additions and 1 deletions

View File

@ -15960,7 +15960,7 @@ Some of the options can be changed using the variable
((eq processing-type 'mathjax)
;; Prepare for MathJax processing
(setq string (match-string n))
(if (equal m "$")
(if (member m '("$" "$1"))
(save-excursion
(delete-region (match-beginning n) (match-end n))
(goto-char (match-beginning n))