nancy@enms2.UUCP (Nancy Werlin) (04/08/85)
I am looking for a set of macros that will create an index in a TROFF document, preferably by flagging to-be-indexed words and sticking them in a buffer for future retrieval and sorting. It doesn't have to be particularly sophisticated. If anyone knows of such an animal, I'd very much appreciate learning about it. Standard information: who sells/has it, how it works, how much, whatever you know. Thanks. Nancy Werlin EnMasse Computer Corp.
lrr@siemens.UUCP (04/15/85)
I have done this for a book I've worked on. The book has 9 chapters and an index built from those chapter. In brief, I used the .tm troff request and then saved and post-processed the output of each chapter. When I print the index, I fetch the indexes from each chapter and then combine them with an awk script so that I can merge adjacent references (i.e., the reference vi on pages 12,13,14,15,18 would print out as vi 12-15,18). It takes some shell scripts and some other coordination. It's not terribly general but could be made so. If you are interested, I'll mail to anyone. Larry Rogers Siemens Research and Technology Laboratories 105 College Road East Princeton, NJ 08540 609 734 6559