[TxMt] LaTeX natbib uppercase \Cite* commands

Allan Odgaard throw-away-1 at macromates.com
Mon Jun 11 09:25:46 UTC 2007


On 28. May 2007, at 18:56, Hendrik Fuß wrote:

> natbib defines a set of cite commands that start with an uppercase C
> (e.g. \Citep), which are meant to be used at the start of sentences,
> especially if the author name starts with a lowercase letter (as in
> "von ....").
>
> The current TextMate highlighting doesn't recognise these commands as
> citation commands. However, this is easily fixed by changing the first
> occurrence of "cite" to "[Cc]ite" in the language definition.
>
> The fix seems to work fine, so I was wondering whether this should go
> into the main release.

This is the rule to handle citation commands: http:// 
pastie.textmate.org/69403

It also supports \footcite and various other prefixes. Would natbib  
also support \Footcite? or is it only for \cite«suffix»? and I  
presume it doesn’t do \footCite (which your proposed change would  
make valid).





More information about the textmate mailing list