🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #2643

extended mm list macros?

#2643
From: Bruce W. Mohler
Date: Wed, 27 Mar 1991 22:38
61 lines
1866 bytes
Since I'm not a troff macro programmer, I'm trying to locate
some macros that will work with -mm macros to create a certain 
type of list.  This list is analogous to the numbered headings:

	.H 1 "Something"
	.H 2 "Something more"
	.H 2 "Something even more"
	.H 3 "Something less"
	.H 1 "Something else"

which should yield (ignoring pages breaks, etc.):

	1.	Something
	1.1	Something more
	1.2	Something even more
	1.2.1	Something less
	2.	Something else

I'm already using the numbered headings to provide the basic structure
of the document.

I need some type of list that would provide a similar numbering scheme 
(to provide for automatically numbered User Requirements in this case).
If the macros were able to accept a text label and use it as a prefix
(like "UR"), that would make them even more useful.

The goal is to provide a list like:

	UR 1.		text...

			descriptive text...

	UR 1.1		text...

			descriptive text...

	UR 1.2		text...

			descriptive text...

	UR 1.3		text...

			descriptive text...

	UR 1.3.1	text...

			descriptive text...

Does anyone know of any macros like these?  I've already checked archie
("set search exact", "prog mm") looking for any generally avaiable
mm macro libraries.

Thanks, in advance!

Bruce

-- 
Bruce W. Mohler
Systems Programmer (aka Staff Analyst)
bruno@sdcc10.ucsd.edu
voice: 619-586-2218
Technical Details
Message-ID: <17827@sdcc6.ucsd.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!ucsd!sdcc6!sdcc10!bruno

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!ucsd!sdcc6!sdcc10!bruno
From: bruno@sdcc10.ucsd.edu (Bruce W. Mohler)
Newsgroups: comp.text,comp.sources.wanted
Subject: extended mm list macros?
Keywords: extended list macros mm nroff troff
Message-ID: <17827@sdcc6.ucsd.edu>
Date: 27 Mar 91 22:38:58 GMT
Sender: news@sdcc6.ucsd.edu
Followup-To: comp.text
Lines: 61