![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Alan Blount <blount at media.mit.edu> writes: > I've been using the simple set of nroff macros, as described by > > http://www.ietf.org/internet-drafts/2-nroff.template > > While this works, I'd like to be able to autogenerate section numbers > and table of contents entries. This draft doesn't give any guidance. > I tried the -ms macros, as described by > > http://www.cs.berkeley.edu/%7Ejanp/Help/textms.html > > but the header macro .NH creates the header in boldface, which is a > no-no according to RFC 2223. > > I imagine there is a way to do this, but I am ignorant of the > necessary kung-fu. Does anyone have a sample nroff file, perhaps a > draft they've written, that generates heading numbers and a toc? There are a couple of ways to do it, either by rolling your own macros or by making a minor change to the ms macros themselves (the approach I took). I can send you my macro package if you like; however, it doesn't do automatic TOC processing. > > Thanks, > Alan Blount > blount at media.mit.edu > > - > This message was passed through ietf+censored at alvestrand.no, which > is a sublist of ietf at ietf.org. Not all messages are passed. > Decisions on what to pass are made solely by Harald Alvestrand. >
Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.