Commit 103ffad5 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(LaTeX patterns): Don't match \( and \[ following a \.

parent 75db9a64
......@@ -1255,8 +1255,8 @@ number of backslashes."
("\\\\caption\\(\\[[^]]*\\]\\)?{" "}" label)
;; formulas
("\\\\(" "\\\\)" formula) ; \( \)
("\\\\\\[" "\\\\\\]" formula) ; \[ \]
("[^\\]\\\\(" "\\\\)" formula) ; \( \)
("[^\\]\\\\\\[" "\\\\\\]" formula) ; \[ \]
("[^$]\\($\\($[^$]*\\$\\|[^$]*\\)\\$\\)" 1 formula) ; '$...$' or '$$...$$'
;; things that bring in external files
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment