Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site rti-sel.UUCP
Path: utzoo!linus!philabs!cmcl2!seismo!harvard!talcott!panda!genrad!decvax!mcnc!rti-sel!trt
From: trt@rti-sel.UUCP (Tom Truscott)
Newsgroups: net.text
Subject: Building an Index with Troff
Message-ID: <335@rti-sel.UUCP>
Date: Thu, 8-Aug-85 15:07:05 EDT
Article-I.D.: rti-sel.335
Posted: Thu Aug  8 15:07:05 1985
Date-Received: Mon, 12-Aug-85 08:27:14 EDT
Distribution: net
Organization: Research Triangle Institute, NC
Lines: 26

Has anyone added the ability to 'index' a troff document?
The '-me' package includes the .(x ... .)x table of contents
generator, but it does not sort the table or permit
multi-level index entries. Other text processing packages
such as 'SCRIPT' do provide these capabilities.

For example, here is an indexing example from the 'SCRIPT' manual:

	Sentence in which cats
	.ix cats
	are mentioned in general terms. ...
	Sentence in which Siamese cats
	.ix cats Thai
	are discussed. ...
	.ix cats . 'see also "felines"'


The index would appear as:

	cats, 5, see also "felines"
	    Thai, 37

If someone has something like this please let me know,
otherwise I am going to have to write one.

	Tom Truscott