ietf
[Top] [All Lists]

Re: Automatically updated Table of Contents with Nroff

2009-07-14 21:59:41
Sounds interesting.

Do you by any chance have a source where this "trivial" information is
available?

All I have managed to get across are ways to generate a TOC in the end of
the document, that you have to move manually. When doing that move, your
page numbering and formatting may change.

Anyway, the trick/attempt here is to generate a TOC within a WYSIWYG editor
for instant view without ever touching a command line tool, and not having
to index all your titles with macros, but simply through letting the tool
analyze the typical Nroff I-D.

/Stefan


On 09-07-15 1:27 AM, "Donald Eastlake" <d3e3e3(_at_)gmail(_dot_)com> wrote:

It's trivial to define nroff macros to create a Table of Contents.

Donald
=============================
 Donald E. Eastlake 3rd   +1-508-634-2066 (home)
 155 Beaver Street
 Milford, MA 01757 USA
 d3e3e3(_at_)gmail(_dot_)com

On Tue, Jul 14, 2009 at 4:56 PM, Stefan 
Santesson<stefan(_at_)aaa-sec(_dot_)com> wrote:
As I know there are quite some Nroff users still out there, this might be
welcome news.

While I quite like Nroff for its easy to use and readability. one of the
problem that always have annoyed me with Nroff is to manually update the
Table of Content.
This is something where xml2rfc have a great edge, over Nroff, or at least
had.

So the good news is that version 1.0 of NroffEdit includes a feature for an
automatically updated Table of Contents.
All you need to do is to click where you want the TOC and paste it there.
Once you done that it will automatically update as you change name of
titles, change page locations or even add or remove titles.

More information about this is no my web:
http://aaa-sec.com/nroffedit/index.html

I want to thank for the feedback I have received so far.
If you like this or have any feedback of any kind, feel free to let me know.

/Stefan

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




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