[TxMt] TmCodeBrowser2 plugin!
Gerd Knops
gerti at bitart.com
Wed Oct 26 17:03:09 UTC 2005
On Wed, Oct 26, at 11:56 AM, Eric Hsu wrote:
> At 4:09 PM +0200 10/26/05, Jeroen van der Ham wrote:
>
>> Yup, it helped, here's a sample Latex snippet, it only grabs
>> labels and (sub)*sections, but should be generally useful.
>>
>> Also very cool that this works immediately, you don't need to
>> restart TM or the codebrowser.
>>
>> Jeroen.
>>
>> --langdef=latex
>> --langmap=latex:.tex
>> --regex-latex=/\\label\{*([^} \t]+)[ \t]*\}/\1/l,label/
>> --regex-latex=/^\\(sub)*section{([^}]*)}/\2/s,section/
>>
>
> Could you give one more level of detail? What does one do with this
> text? I didn't follow Gerd's first explanation... sorry.
>
Create a file named '.ctags' (note the leading dot) in your home
directory, and add the lines above to that file.
Gerd
> - Eric
> --
> Eric Hsu, Assistant Professor of Mathematics
> San Francisco State University
> erichsu at math.sfsu.edu
> http://math.sfsu.edu/hsu
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
More information about the textmate
mailing list