ietf
[Top] [All Lists]

Re: Automatically updated Table of Contents with Nroff

2010-12-21 15:18:23
On 21.12.2010 20:22, Randy Presuhn wrote:
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 8:43 AM
Subject: Re: Automatically updated Table of Contents with Nroff
...
So, I do understand how generate the ToC at the end, and I'll probably
grok .so, but what is needed to extract the ToC into a separate file? Is
there anything in nroff supporting that, or were you just referring to a
set of homegrown tools? Also, as far as I can tell, the generated ToC
will already be paginated, so do you post-process it again so it can be
inserted properly?

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.

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