Browse Source

Fix mathjax treatment of single letters in between dollars.

* lisp/org.el (org-format-latex): Fix mathjax treatment of single letters
in between dollars.
Carsten Dominik 14 years ago
parent
commit
d0e70e8c81
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -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))