help-gnu-emacs
[Top][All Lists]

## Re: etags in tex files

 From: Colin Baxter Subject: Re: etags in tex files Date: Sat, 17 Jul 2021 21:18:49 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

>>>>> Óscar Fuentes <ofv@wanadoo.es> writes:

> Colin Baxter <m43cap@yandex.com> writes:
>> Hello,
>>
>> I like to use etags in tex files in order to search for
>> occurrences of equation labels. This works well if the label is a
>> string of only digits and/or letters, say
>> \label{123abc}. However, if there's a colon in the label, say
>> \label{123:abc} then etags will only search for the portion of
>> the string before the colon, i.e. 123.
>>
>> Is there any way in which I can configure etags to recognise
>> everything with the curly brackets of a \label? I could always
>> use grep but I like etags and would like to stick with them.

> Dunno about (c|e)tags, but other implementations such as Universal
> Ctgas lets you to define your own language. It is quite simple and
> works fine.

Thanks. I'll have a look at your suggestion if T don't make progress
with etags.