[comp.text] automatic table of contents with troff -ms

marco@ucla-cs.UUCP (01/26/87)

I'm using the .NH section headers macros of the ms package.
How can I have an automatically set table of contents printed at the 
beginning of my text?

Please reply to marco@math.ucla.edu

Thanks.