On Mon, Jun 05, 2000 at 10:09:04AM +1000, Michael Lake wrote:
> Hi All,
>
> John Ferlito wrote:
> > Is there a nice way to include man pages in latex so they get formatted nicely?
> > Something similar to the way lgrind formats C files.
>
> Not quite sure what you really need to do but this may help.
> 'man man' says...
>
> -t Use /usr/bin/groff -Tps -mandoc to format the
> man<AD>
> ual page, passing the output to stdout. The
> output
> from /usr/bin/groff -Tps -mandoc may need
> to be
> passed through some filter or another before
> being
> printed.
>
> This produces Postscript which can be viewed with Ghostview.
> You can manipulate it with mpage or the psutils package.
> Then if you need to, that ps file can be included in your
> LaTeX file with \includegraphics{my_manpage.ps}.
> Alternatively use groff and set the output device to dvi
> with '-Tdvi'.
This sort of works but not really. Thae man page I want to inclde in my
document is fairly long. So if I convert it to dvi or ps it spans multiple pages and
inclue graphics doesn't like that :(
>
> Mike
>
> --------------------------------------------------------------------
> Michael Lake
> University of Technology, Sydney
> Email: mailto:[EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02
> 9514 1628
> URL: http://www.science.uts.edu.au/~mikel
> Linux enthusiast, active caver and interested in anything
> technical.
> --------------------------------------------------------------------
> --
> SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
> To unsubscribe send email to [EMAIL PROTECTED] with
> unsubscribe in the text
PGP signature