ietf
[Top] [All Lists]

Re: Automatically updated Table of Contents with Nroff

2009-07-15 05:15:57
Randy Presuhn wrote:
...
No need to manually edit.

Use the macros or awk / sed to spit the toc into a file which can be inserted
into the correct position by the .so nroff directive.  This will result in
a table of contents in the correct position.  There is the possibility
that if the number of toc pages has changed from one iteration
to the next that the page numbers will be off by one, but that will
go away the next time the process runs.

For editing a document, particularly a largish one, the availability of
.so is for me nroff's biggest advantage over xml2rfc.
...

How exactly is that an advantage of xml2rfc?

BR, Julian
_______________________________________________
Ietf mailing list
Ietf(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf