ietf
[Top] [All Lists]

Re: I-D nroff macros

2000-01-04 18:50:02
Alan Blount <blount(_at_)media(_dot_)mit(_dot_)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(_dot_)mit(_dot_)edu

-
This message was passed through ietf+censored(_at_)alvestrand(_dot_)no, which
is a sublist of ietf(_at_)ietf(_dot_)org(_dot_) Not all messages are passed.
Decisions on what to pass are made solely by Harald Alvestrand.




<Prev in Thread] Current Thread [Next in Thread>