Path: utzoo!attcan!telly!lethe!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!noao!rstevens From: rstevens@noao.edu (Rich Stevens) Newsgroups: comp.text Subject: Re: Index generation in *roff Message-ID: <1990Dec21.191631.11532@noao.edu> Date: 21 Dec 90 19:16:31 GMT References: <611@synopsys.COM> Organization: National Optical Astronomy Observatories, Tucson AZ Lines: 15 Take a look at the paper "Tools for Printing Indexes" by Bentley and Kernighan in _Electronic Publishing_, Vol. 1, No. 1, April 1988, pp. 3-17. As the last line in the summary says "An appendix contains a complete listing of the programs, which total about 200 lines [of nawk]." More important, the appendix says that you can get the programs in machine-readable form by sending the mail message "send indexing.tools" to either netlib@research.att.com or netlib@anl-mcs.arpa (I see from the DNS that the latter is now peace.mcs.anl.gov.) I used the programs for my book and they work great. But, the hardest part is figuring out the words you want to index, and inserting the troff commands to create the raw data for these programs. Rich Stevens