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

Re: man pages in wordpad



Dorit Ben-Shalom wrote:
> Thanks again for the useful advice.
You are welcome.

> How do I convert man pages to ghostview?

The following command will convert them to postscript. You can then view
them with ghostview, print them on a postscript printer, or print them
with ghostscript on windows.

For example, to get the man page for "ls"

	groff -man /usr/man/man1/ls.1 >ls.ps

You can add an output device type such as dvi (to print with a TeX package),
or ascii (plain dumb text such as notepad). That would be:

 	groff -Tdvi -man /usr/man/man1/ls.1 >ls.dvi

There is a nice Tex/LaTeX implementation called "MikeTex" for windows.

Geoff.


-- 
Geoffrey S. Mendelson
Tel:  (03) 6944-211  Fax: (03) 6944-225 Email: gsm@bfr.co.il 


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il