Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: $Revision: 1.6.2.14 $; site siemens.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!siemens!lrr From: lrr@siemens.UUCP Newsgroups: net.unix Subject: Re: QUERY: Indexing macros for TROFF ?? Message-ID: <24900006@siemens.UUCP> Date: Mon, 15-Apr-85 09:54:00 EST Article-I.D.: siemens.24900006 Posted: Mon Apr 15 09:54:00 1985 Date-Received: Tue, 16-Apr-85 01:03:29 EST References: <191@enms2.UUCP> Lines: 16 Nf-ID: #R:enms2:-19100:siemens:24900006:000:701 Nf-From: siemens!lrr Apr 15 09:54:00 1985 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