On Aug 13, 2007, at 10:54 AM, guerom00 wrote:
Charilaos Skiadas <cskiadas@...> writes:
It is in the "TeX" language grammar. Can you send us the examples that is colored incorrectly? If something is marked as illegal and it is not, then this is likely a bug in the grammar, which I'd like to get fixed.
Sureā¦
http://myskitch.com/guerom00/illegal_math-20070813-165228.jpg
Ok, the problem was with a rule I had added to mark the interval from a single dollar sign to a newline as illegal, thinking that inline math is not allowed to go over one line. However this is not really true. What is not allowed is having two consecutive newlines inside a math environment, but I have not found a way to match that. So I just removed the rule, which means that an older problem concerning runaway dollar signs and what ends up being colored as math in that case.
Haris Skiadas Department of Mathematics and Computer Science Hanover College