[TxMt] Latex grammar problem
Charilaos Skiadas
cskiadas at uchicago.edu
Wed May 31 04:23:12 UTC 2006
Hello Alain,
On May 30, 2006, at 5:33 PM, Alain Matthes wrote:
> Hello:)
> After \catcode`\{=1 nothing any more is recognized; syntax
> coloring is lost
>
> and with (l'article) or {l'article} syntax highlighting is lost;
> the first symbol ( or { is not found any more
Update to r3473, I just committed a fix. The problem here was that
the backtick (`) has a very special meaning when preceded by
\catcode, namely it does not signal the start of a "string". So
TextMate assumes that you have started a string, and looks for the
closing ('). So everything on its way is considered as part of the
string.
Since most people never use \catcode, it had not shown up as a
problem so far. I changed TeX.plist so that it captures as a separate
entity a phrase of the form:" \catcode followed by backtick followed
by backslash followed by a character, then equal sign and then a
number". So this should take care of most cases. Let me know if it
doesn't.
> Alain Matthes
Haris
More information about the textmate
mailing list