[TxMt] Latex bundle: problem with label completion

Charilaos Skiadas skiadas at hanover.edu
Sun Jan 28 18:28:01 UTC 2007


On Jan 28, 2007, at 11:55 AM, Piero D'Ancona wrote:
> I am using extensively the new label completion macro
> which is really very good and fast. I have a problem though:
> all my equation labels have the form \label{eq:labelname}
> and the macro chokes on them. If I type
>
>    labelname
>
> then invoke the opt-esc shortcut and chose 1 i.e.
> "label based on current word", I get
>
> \\${1:eqref}{eq:labelname}
>
> Clearly the colon is the problem. Any workaround,
> apart from changing my label style (which is one
> of the standard ones, however, used e.g. by Auctex)?
>
No, the problem was that the command was not inserting as snippet in  
the case of eqref, but only in the case of ref instead, so it was  
showing as plain text what should be interpreted as a snippet. This  
is now fixed.

> Thanks,
> Piero

Haris





More information about the textmate mailing list