I wish to add an index to documents I am writing. I am using XEmacs
and LaTeX.
It appears that makeindex is obsolescent and has been superseded by
xindy, so I plan to use xindy.
>From an article titled "MakeIndex: An Index Processor for LaTeX",
written by Leslie Lamport (17 February 1987), it appears that the
first step is to create an alphabetical list of every word in the
document, with duplicates removed. Lamport recommends use of the
commands:
delatex myfile.tex | sort -uf > foo
It would appear that delatex purges from the file all the LaTeX
commands.
<snipped detailed query on converting latex to plain text>