diff --git a/autotests/folding/highlight.tex.fold b/autotests/folding/highlight.tex.fold --- a/autotests/folding/highlight.tex.fold +++ b/autotests/folding/highlight.tex.fold @@ -260,3 +260,12 @@ Text that has a footnote\footnote{This $i_s$ the \[i_s\] $$x_i$$ \(x_i\)footnote}\addtocounter{footnote}{-1}\addtocounter{footnote}{-1} looks like this. Later text referring to same footnote\footnotemark uses the other command. \end{document} + +% A delimiter is not required before "\" in keywords of kind "\command" (see bug #413493) +\begin{equation}123\end{equation} + +\begin{comment}Comment\end{comment} +\iffalse text\fi normal text + +text\begin{tabular}text\end{tabular} +text\begin{a}text\end{a} diff --git a/autotests/html/highlight.tex.html b/autotests/html/highlight.tex.html --- a/autotests/html/highlight.tex.html +++ b/autotests/html/highlight.tex.html @@ -266,4 +266,13 @@ Text that has a footnote\footnote{This $i_s$ the \[i_s\] $$x_i$$ \(x_i\)footnote}\addtocounter{footnote}{-1}\addtocounter{footnote}{-1} looks like this. Later text referring to same footnote\footnotemark uses the other command. \end{document} + +% A delimiter is not required before "\" in keywords of kind "\command" (see bug #413493) +\begin{equation}123\end{equation} + +\begin{comment}Comment\end{comment} +\iffalse text\fi normal text + +text\begin{tabular}text\end{tabular} +text\begin{a}text\end{a} diff --git a/autotests/input/highlight.tex b/autotests/input/highlight.tex --- a/autotests/input/highlight.tex +++ b/autotests/input/highlight.tex @@ -260,3 +260,12 @@ Text that has a footnote\footnote{This $i_s$ the \[i_s\] $$x_i$$ \(x_i\)footnote}\addtocounter{footnote}{-1}\addtocounter{footnote}{-1} looks like this. Later text referring to same footnote\footnotemark uses the other command. \end{document} + +% A delimiter is not required before "\" in keywords of kind "\command" (see bug #413493) +\begin{equation}123\end{equation} + +\begin{comment}Comment\end{comment} +\iffalse text\fi normal text + +text\begin{tabular}text\end{tabular} +text\begin{a}text\end{a} diff --git a/autotests/reference/highlight.tex.ref b/autotests/reference/highlight.tex.ref --- a/autotests/reference/highlight.tex.ref +++ b/autotests/reference/highlight.tex.ref @@ -260,3 +260,12 @@ Text that has a footnote\footnote{This $i_s$ the \[i_s\] $$x_i$$ \(x_i\)footnote}\addtocounter{footnote}{-1}\addtocounter{footnote}{-1} looks like this. Later text referring to same footnote\footnotemark uses the other command.

\end{document}
+
+% A delimiter is not required before "\" in keywords of kind "\command" (see bug #413493)
+\begin{equation}123\end{equation}
+
+\begin{comment}Comment\end{comment}
+\iffalse text\fi normal text
+
+text\begin{tabular}text\end{tabular}
+text\begin{a}text\end{a}
diff --git a/data/syntax/latex.xml b/data/syntax/latex.xml --- a/data/syntax/latex.xml +++ b/data/syntax/latex.xml @@ -3,9 +3,13 @@ [ + ]> - + + \begin @@ -280,7 +284,7 @@ - + @@ -765,15 +769,22 @@ - - - - - - + + + + + + + + + + + + + @@ -824,7 +835,7 @@ - + @@ -885,14 +896,17 @@ - - - - - + + + + + + + + @@ -941,16 +955,24 @@ - + + + + + - + + + + +