reflabel.pl -- check latex references and labels
This program prints all latex labels that are multiply defined, as well as all latex labels that are not defined but referenced. Both are of course errors. The program outputs these errors in a format that allow the emacs next-error function to work. It also can check for labels that are defined and never referenced.
reflabel.pl [-v[0|1]] texfiles*.tex
| -v0 or -v | also print labels that are never referenced |
| -v1 or -vv | print a description for each label and each reference. |
| -v2 | like -v1, but splits lines. |
Probably many.
ivo welch
June 26, 2002
(C) Ivo Welch, 2002. GNU copyleft usage permitted by the author.
Thanks to all the chaps on comp.text.tex who constantly help me out with necessary latex macros---especially Don Arseneau. This perl code may help give back a little to the community.
I will try to keep the latest version at http://welch.econ.brown.edu/ . Please check there first. The site also contains another useful perl program for latex, called reflabel.pl. It cross-references information about labels and references, again in an output format that is useful for emacs use. For now, the perl code is at
http://welch.econ.brown.edu/computers/
None. Don't even think about it. Expect absolutely no support from the author. Make changes yourself.