dave@utcsrgv.UUCP (Dave Sherman) (11/04/83)
Do you often want to write stuff with nroff so it will come out looking half decent and have page breaks with numbered pages, but *hate* waiting for all the overhead of -ms or -mm? Well, here's a real quickie I use. Usually I call it "pg" and stick a ".so pg" at the beginning of my file. If I want to change any of it, I just read it right into the file. Here it is: . pg - page macros - very primitive .de fo 'bp 'sp 3 'tl ''- % -'' 'sp 2 .. .wh -6 fo .de PA .sp .ne 2 .ti +5 .. .de xx .sp 2 .ne 4 .cu \\n+a. \\$1 .PA .. .nr a 0 1 It gives you automatic numbered pages, .PA for paragraphs, and .xx for consecutively numbered sections. Typical usage: .xx "Implementation considerations Dave Sherman Toronto -- {allegra,cornell,decvax,ihnp4,linus,utzoo}!utcsrgv!dave