latexhelpindex.pl -- help latex authors to completify an index.
This program helps latex authors augment an existing latex index.
The program tries to ignore instances in which the text already contains an \index{key} macro.
The user can also specify a file that contains index keys that should not be checked. (Naturally, by hand-fixing the input index (.idx) file, it is also easy to add or subtract index keys.)
The program tries to recognize phrases that extend over two lines. The items are sorted, too, which means skipping an item is as simple as going to the emacs error buffer and setting the mark at the next item. Finally, if there is an index item within the previous or next columns of lines (well, $LOOKFORDEFINITION=10 to be exact) that has an entry \index{key} already, it is not printed.
latexhelpindex.pl file.idx texfiles*.tex
latexhelpindex.pl -e file.exclude file.idx texfiles*.tex
latexhelpindex.pl -q -e file.exclude file.idx texfiles*.tex (quiet, no print)
latexhelpindex.pl -n -e file.exclude file.idx texfiles*.tex (no directory output)
ivo welch
August 8, 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/latexhelpindex.txt http://welch.econ.brown.edu/computers/reflabel.txt
None. Don't even think about it. Expect absolutely no support from the author. Make changes yourself.