[TxMt] LaTeX Bundle: Syntax highlighting in `\section` comand

Aaron Jacobs aaronjjacobs at gmail.com
Mon Dec 11 01:09:52 UTC 2006


I've found a problem with the syntax highlighting in the LaTeX bundle.
 I use the Cobalt theme, and normally the argument of a citation
command such as `\citeauthor` appears in purple.  However, I have the
following line in a document I am writing:

    \section{\citeauthor{kager:1999}'s analysis}

The arguments to section commands normally show up gold-colored for
me, and "analysis" appropriately does so here.  However, the
`kager:1999` part also does, which I believe is incorrect since it is
not part of the actual section title but rather a bibliography keyword
and thus should be purple.

Not a huge problem, but I wanted to point it out.  I would fix it if I
had time to learn TextMate's grammar system -- as I said, I'm
currently writing a paper. :-)



More information about the textmate mailing list