[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Copying blocks of troff input to a file

From: Alejandro Lopez-Valencia
Subject: Re: [Groff] Copying blocks of troff input to a file
Date: Wed, 24 Dec 2003 06:59:59 -0500
User-agent: Opera M2/7.50 (Win32, build 3494)

On Wed, 24 Dec 2003 10:23:30 -0000 (GMT), wrote in message <address@hidden>:

Greetings all, and a happy festive season and new year to all!

A question. I'm trying to devise a pair of macros (say .TO and .TQ)
such that

one or more lines of troff input


a) append these input lines verbatim to another file
b) leave them stilll available as troff input

The objective is to set up a separate file which is already suitable
for groff to generate a Table of Contents for the document in the
original input (which will in fact be split between several input

This is probably not what you want, but have you looked at the TOC and indexing macros in gmm and the matching perl in mmroff?

kenkon itteki

reply via email to

[Prev in Thread] Current Thread [Next in Thread]