🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #1987

Re: Creating `man' pages with tbl eqn

#1987
From: Andreas Stolcke
Date: Wed, 24 Oct 1990 17:17
27 lines
1782 bytes
In article <10541@ccncsu.ColoState.EDU>, daveb@poa.NREL.ColoState.EDU (Dave Bigelow 491-5574) writes:
|> I have started a small documentation project which initially involves
|> placing some previously published troff documents (single pages up to
|> reports) into local `man' pages.  When I attempt to use the `catman'
|> utility however, equations and tables are not processed.  
|> [...]
|> Is there a patch available for the catman utility that comes with SUNOS4.1?
|> Has anyone solved this problem before?

I believe Sun has solved the problem for you already.  The man(7) page says:

  Conventions
     When formatting a manual page, man examines the  first  line
     to  determine  whether  it requires special processing.  For
     example a first line consisting of:
          '\" t

     indicates that the manual  page  must  be  run  through  the
     tbl(1) preprocessor.

Similarly, '\" et will invoke first eqn, then tbl.
This convention is honored by both man and catman.

-- 
Andreas Stolcke
International Computer Science Institute	stolcke@icsi.Berkeley.EDU
1957 Center St., Suite 600, Berkeley, CA 94704	(415) 642-4274 ext. 126
Technical Details
Message-ID: <1990Oct24.171744.3852@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!sq!lsuc!attcan!uunet!know!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!bionet!agate!ICSI.Berkeley.EDU!stolcke
References: <10541@ccncsu.ColoState.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!sq!lsuc!attcan!uunet!know!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!bionet!agate!ICSI.Berkeley.EDU!stolcke
From: stolcke@ICSI.Berkeley.EDU (Andreas Stolcke)
Newsgroups: comp.text
Subject: Re: Creating `man' pages with tbl eqn
Keywords: catman, nroff
Message-ID: <1990Oct24.171744.3852@agate.berkeley.edu>
Date: 24 Oct 90 17:17:44 GMT
References: <10541@ccncsu.ColoState.EDU>
Sender: usenet@agate.berkeley.edu (USENET Administrator)
Reply-To: stolcke@ICSI.Berkeley.EDU (Andreas Stolcke)
Organization: International Computer Science Institute, Berkeley, CA
Lines: 27