[OS X TeX] Finding duplicate labels - a perl script

Joachim Kock jkock at gmx.com
Tue Jun 25 22:26:30 CEST 2013


> Anyone who has written a very long math document has probably
> encountered the problem of accidentally creating duplicate labels.
> Right now I have 352 labels, and I have run into this problem several
> times. I stumbled on a way of detecting exactly which labels have
> duplicates here:
>
> http://www.mawode.com/blog/blog/2012/03/21/finding-duplicate-latex-labels/
>
>  It involves running this perl script in the terminal:

...

AlphaX does this automatically as part of its error browsing:
multiply defined labels are listed along with errors and
warnings (together with line numbers, although the log file
does not provide these), and pressing return takes you there.

Joachim.




More information about the macostex-archives mailing list