# [texhax] Index and Glossary?

Christopher W. Ryan cryan at binghamton.edu
Thu Dec 8 16:44:24 CET 2005

```Don't know about a package, but could you just use your text editor's
"search and replace" function to replace every occurence of "latex" with
"\index{latex}"?

--
Christopher W. Ryan, MD
SUNY Upstate Medical University Clinical Campus at Binghamton
and Wilson Family Practice Residency, Johnson City, NY
cryanatbinghamtondotedu
GnuPG and PGP public keys available at http://pgp.mit.edu

"If you want to build a ship, don't drum up the men to gather wood,
divide the work and give orders. Instead, teach them to yearn for the
vast and endless sea."  [Antoine de St. Exupery]

Magnus Ottosson wrote:
> Hi!
>
> I want to have an index list and a glossay list in my document. I have
> found a couple of ways to do this but with all the solutions I have
> found I have to mark each occurrence of the word at each place I have it
> in the text. So if I want to have the word "latex" in my index and
> glossary I have to mark the work latex with a \index{latex} at each
> place it occurs in the text.
>
> Is there a package that I can just add to a index file that I want to
> have an index with the word latex and it will automatically find in the
> text were it is? And the same with glossary of course?
>
> Is it possible?
>
> Magnus
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/