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

Re: Man page output



On Sun, Jun 02, 2002 at 10:01:20PM +0100, Colin Watson wrote:
> On Sat, Jun 01, 2002 at 10:54:22PM -0400, Andy Saxena wrote:
> > On Fri, May 31, 2002 at 06:53:50PM +0200, Pietro Cagnoni wrote:
> > > you already got good answers to your question, but if you need
> > > the text format to print it, the best thing is to use
> > > man -t <something>, which will give you nicely formatted
> > > postscript output.
> > 
> > zcat /usr/share/man/man5/html2textrc.5.gz | groff -t -mandoc > print.ps
> 
> That's morally equivalent to 'man -t html2textrc > print.ps', but more
> cumbersome and less reliable (it will fail if the man page needs a
> preprocessor like tbl).

I meant eqn and so on, of course - the -t flag to groff handles tbl ...

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: