groff
[Top][All Lists]
Advanced

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

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


From: Ted Harding
Subject: Re: [Groff] Copying blocks of troff input to a file
Date: Wed, 24 Dec 2003 15:18:53 -0000 (GMT)

On 24-Dec-03 Tadziu Hoffmann wrote:
> How about this:
> 
> ---- Cut here (with a very sharp editor) ----
> .de TO
> .de TX TQ
> ..
> .de TQ
> .opena TOCout TOC.tr
> .write TOCout .XA \\n%
> .writem TOCout TX
> .write TOCout .XE
> .close TOCout
> .TX
> ..
> This is a
> .TO
> Block of
> .I input
> lines
> .TQ
> ---- Cut here (with a very sharp editor) ----

Tadziu, this is very clever! My brain is still unwinding from
the recursive spin it has induced -- it had not occurred to me
to think of using .TQ as the terminator for .TO!

Thanks, and best wishes,
Ted.


--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Fax-to-email: +44 (0)870 167 1972
Date: 24-Dec-03                                       Time: 15:18:53
------------------------------ XFMail ------------------------------

reply via email to

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