Xref: utzoo comp.text:2563 comp.sources.wanted:5211 comp.misc:3683 Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!cmcl2!phri!dasys1!jpr From: jpr@dasys1.UUCP (Jean-Pierre Radley) Newsgroups: comp.text,comp.sources.wanted,comp.misc Subject: Re: Wanted: Documentation Indexing Tools Summary: Bourne's book "The UNIX System" Keywords: Nroff-based indexing Message-ID: <6829@dasys1.UUCP> Date: 5 Oct 88 01:54:14 GMT References: <4597@brspyr1.BRS.Com> Reply-To: jpr@dasys1.UUCP (Jean-Pierre Radley) Organization: TANGENT Lines: 22 In article <4597@brspyr1.BRS.Com> bob@brspyr1.BRS.Com (Bob Armao) writes: >We use nroff with our own customized macros to construct and format a >permuted index... > >I'm looking for an approach (public domain or otherwise) that will >enable us to produce a more traditional-looking and effective index. >For now we have to live within the restrictions of nroff and family. S.R.Bourne (author of /bin/sh) in his book "The Unix Shell", published by International Computer Science Series, ISBN 0-201-13791-7, might have what you want on pages 171-175. I've elaborated on what he did a bit, and I get very nice indices. Generally speaking, you insert a macro with index words here and there in your text. This gets printed with '.tm' to stderr diverted to a file which is later processed by sed, sort, tbl, and nroff. -- Time is nature's way of Jean-Pierre Radley making sure that everything jpr@dasys1.UUCP doesn't happen all at once. CIS: 76120,1341