Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!mcvax!unido!ztivax!tumuc!lan!foessmei
From: foessmei@lan.informatik.tu-muenchen.dbp.de (Reinhard Foessmeier)
Newsgroups: comp.text
Subject: Re: Need help with page number 1 of X and TOC in  [ntp]roff
Message-ID: <740@tuminfo1.lan.informatik.tu-muenchen.dbp.de>
Date: 18 Aug 89 06:41:44 GMT
References: <3285@seashore.nprdc.arpa> <33@nx32s.anduk.co.uk>
Sender: news@lan.informatik.tu-muenchen.dbp.de
Reply-To: foessmei@lan.informatik.tu-muenchen.dbp.de (Reinhard Foessmeier)
Organization: Inst. fuer Informatik, TU Muenchen, W. Germany
Lines: 27

In article <33@nx32s.anduk.co.uk> lee@nx32s.UUCP (0000-Liam R. Quin) writes
   (about getting an alternative output channel from troff)
:
>You can do this with .tm, being careful not to swallow any troff error
>messages.  Also, the major commercial troff clones have the ability to
>write to a file.  

Uzante ditroff, vi povas ankaw          Using ditroff, you can also make use
utiligi la koment-sintakson;            of its comment facility; ditroff
ditroff-postproceziloj ignoras          postprocessors ignore lines starting
liniojn komencantajn per #.             with a #.  So you can include such
Do vi povas enkludi tiajn liniojn       lines in your ordinary output by
en la ordinaran eligon, per             saying

        \!#4 iru al kanalo 4 / to go to channel 4

kaj poste kolekti ilin per              and afterwards collect them by

        grep "^#4" troff.el | cut -c3- ...

Bone, tio kostas iom da tempo,          Alright, this will cost some time,
sed estas la tempo de la kom-           but it's the computer's time,
putilo, ne la mia...                    not mine... :-)

Reinhard F\"ossmeier, Technische Univ. M\"unchen |  Vivu
foessmeier@infovax.informatik.tu-muenchen.dbp.de |    la gefiloj
   [ { relay.cs.net | unido.uucp } ]             |       de niaj gepatroj!