🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #1550

troff + ms + NH - Book style section numbering

#1550
From: B.Kumar
Date: Thu, 03 Sep 1992 10:38
33 lines
1096 bytes
One of my friend writing his project report is curious to know 
whether it is possible to do book style nembering of section headers 
in psroff + ms. This requires appending the chapter number to basic 
NH headers. I could not think of any way of achieving this as this 
question never confronted me in the past.

For example section headings should be:

chap1	  chap2

1.1  	  2.1
1.1.1     2.1.1
1.2       2.1.2
1.2.1     2.2
1.2.2     2.1.1
1.2.2.1   2.1.1.2
1.2.2.2   2.3
1.3  

I would appreciate if you have any macro designed to help in doing 
above or any other trick to achieve the same effect.

FAQ also does not say whether this is possible or not.

Regards,

B. kumar

(ps: would appreciate email as it would reach me faster than bulletin
board posting.)

email: bkumar@cs.ucl.ac.uk
Technical Details
Message-ID: <2955@ucl-cs.uucp>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!keele!nott-cs!ucl-cs!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!keele!nott-cs!ucl-cs!news
From: B.Kumar@cs.ucl.ac.uk
Newsgroups: comp.text
Subject: troff + ms + NH - Book style section numbering
Message-ID: <2955@ucl-cs.uucp>
Date: 3 Sep 92 10:38:44 GMT
Sender: news@cs.ucl.ac.uk
Lines: 33