You are not logged in.
Hi there,
How to convert [man pages] > [LaTeX] while retaining the formating and all other stuff?
I need it so I could make then a pdf for more convenient use (especially for printing or reading).
Offline
You can easily dump man pages to a text file and keep the formatting. For example:
man grep > output
From there just wrap it in your LaTeX tags and compile.
Offline
30 seconds of googling:
man -t foo_manpage | ps2pdf14 - foo_manpage.pdf
ps2pdf14 is in the ghostscript package.
Offline
30 seconds of googling:
man -t foo_manpage | ps2pdf14 - foo_manpage.pdf
ps2pdf14 is in the ghostscript package.
That's pretty cool. Nice.
Offline
Thank you for the replies.
How to convert man pages to postscript I knew. However it does not create any bookmarks in the pdf.
That's why I asked how to convert it to LaTeX.
Offline