ietf
[Top] [All Lists]

Re: Automatically updated Table of Contents with Nroff

2010-12-21 13:55:39
The usual way to generate a TOC is to use .tm directives which write
the TOC to the standard error, which you capture in a file using
the usual Unix shell redirection.  Then you rerun nroff using .so
to include that file up at the front where the TOC goes.

That's what I understood from previous threads, but I had no idea how to get that second output stream (I was staring at ".open" earlier today).

PS: You could use .open and .write but they are a recent (circa 1990) addition so I haven't gotten around to using them yet.

Regards,
John Levine, johnl(_at_)iecc(_dot_)com, Primary Perpetrator of "The Internet for 
Dummies",
Please consider the environment before reading this e-mail. http://jl.ly
_______________________________________________
Ietf mailing list
Ietf(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf