Public bug reported:
Create an empty latex document
Insert some math environments using the old and discouraged $math$ and $$math$$
notation.
You will see the expressions properly highlighted as math (in my system theme
it is a light purple color).
Now use the new \(math\) and \[math\] notation.
The text will not be highlighted as math, it seems that \(\) and \[\] are not
recognized as math environment tokens by the highlighting engine.
Here is my example document to reproduce the bug:
\documentclass{article}
\begin{document}
$x+y=23$ should be the same as \(x+y=23\)
And $$z=1$$ should be the same as \[z=1\]
\end{document}
** Affects: gtksourceview (Ubuntu)
Importance: Undecided
Status: New
--
incorrect latex math highlighting
https://bugs.launchpad.net/bugs/152716
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug contact for gtksourceview in ubuntu.
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs