NAME

reflabel.pl -- check latex references and labels


SYNOPSIS

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.


USAGE

reflabel.pl [-v[0|1]] texfiles*.tex

-v0 or -valso print labels that are never referenced
-v1 or -vvprint a description for each label and each reference.
-v2like -v1, but splits lines.


BUGS

Probably many.


BACKGROUND INFORMATION

AUTHOR

ivo welch

DATE

June 26, 2002

LICENSE

(C) Ivo Welch, 2002. GNU copyleft usage permitted by the author.

THANKS

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.

LATEST VERSION

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/

SUPPORT

None. Don't even think about it. Expect absolutely no support from the author. Make changes yourself.