ietf
[Top] [All Lists]

Re: Automatically updated Table of Contents with Nroff

2010-12-21 15:37:45
Hi -

From: "Julian Reschke" <julian(_dot_)reschke(_at_)gmx(_dot_)de>
To: "Randy Presuhn" <randy_presuhn(_at_)mindspring(_dot_)com>
Cc: "IETF Discussion Mailing List" <ietf(_at_)ietf(_dot_)org>
Sent: Tuesday, December 21, 2010 1:17 PM
Subject: Re: Automatically updated Table of Contents with Nroff
...
Here's one incarnation of what I used:
...

Thanks a lot. This seems to be a bit less elegant compared to what John 
was hinting at, but it *is* running code. I'll probably try this.

If you *know* you'll be using a more modern version of, say, groff,
then writing to a file (and *not* instantiating the TOC within the
document) is definitely more elegant.  However, some installations
of groff disable that feature, since it introduces additional security
risks.

Randy

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