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:
parent
28638b0a7b
commit
d0e70e8c81
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue