Article View: net.text
Article #789Indexs for nroff/troff
From: K A Gluck
Date: Mon, 24 Feb 1986 16:13
Date: Mon, 24 Feb 1986 16:13
22 lines
1298 bytes
1298 bytes
Does anyone out there have a way to generate indexs?
When I was using MTS's format system, I could define a pair of
macros. The first, would make index entries (you gave it the word, it
took the page number from the registers). The second would print the
index (you put this at the end of the file).
Nroff/troff dont seem to have this ability. It is non trivial to
write a pair of macros, lets say
.In WORD \" make index entry for word WORD using current page #
\" print word word here
.Ip \" print index
The reasion that .In prints the word, is an attempt to keep the
reffrence and the word on the same page.
Any ideas ?
- kurt gluck Bellcore rrc 4e727 201 699 2105
ihnp4!bellcore!rruxg!kurt
Technical Details
Message-ID:
<108@rruxg.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!linus!decvax!bellcore!petrus!sabre!zeta!epsilon!gamma!pyuxww!pyuxv!rruxa!rruxg!kurtShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site rruxg.UUCP Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!bellcore!petrus!sabre!zeta!epsilon!gamma!pyuxww!pyuxv!rruxa!rruxg!kurt From: kurt@rruxg.UUCP (K A Gluck) Newsgroups: net.text Subject: Indexs for nroff/troff Message-ID: <108@rruxg.UUCP> Date: Mon, 24-Feb-86 11:13:42 EST Article-I.D.: rruxg.108 Posted: Mon Feb 24 11:13:42 1986 Date-Received: Wed, 26-Feb-86 06:49:32 EST Organization: Bell Communications Research, Piscataway, NJ Lines: 22