🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by IMT Tue, 06 Jan 1987 16:43
nroff/mm macro table of contents broken
#452
Author: IMT
Date: Tue, 06 Jan 1987 16:43
24 lines
1617 bytes
While attempting to use the nroff/troff Document Work Bench pkg from AT&T
to produce a small document, we found that we were unable to produce a table
of contents with the .TC command of the mm macro package. There were about 36
headers of various levels in the document that were all formatted correctly.
However, the .TC command, which is the last line in the document, produced
a page with only the title of "CONTENTS" followed by a blank page with a page
number of "i". 

Any ideas on what the problem is? Any and all help would be welcome.

This was tried with the same results on two operating environments:

			AT&T 3b2/310 SVR3
			AT&T 3b2/300 SVR2


------------------------------------------------------------------------------
name	: IMT (Group Administrator)
email	: (trwrb|scgvaxd)!felix!peregrine!imt3b2!imtsft
internet: ucivax@ucbvax.BERKELY.EDU!ucivax%felix!peregrine!imtsft@imt3b2
------------------------------------------------------------------------------
-- 
Paul Czarnik
Re: nroff/mm macro table of contents broken
#455
Author: William A. Stubblebine
Date: Fri, 09 Jan 1987 17:37
20 lines
1287 bytes
imtsft@imt3b2.UUCP (IMT) writes:

> ... we found that we were unable to produce a table
> of contents with the .TC command of the mm macro package.
> Any ideas on what the problem is?

The MM macros manual says to use the Cl register to specify the maximum
level of heading to save for the TC macro.

Try putting this line near the top of your document:

	.nr Cl 3

> Paul Czarnik
                                Bill Stubblebine
                                Hewlett-Packard Logic Systems Div.
				1900 Garden of the Gods Rd.
                                Colorado Springs, Co. 80907
                                ...!ihnp4!hpfcla!hpldola!was
                                (303) 590-3072
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads