Converting perldoc to postscript

M

Mordecai

What's the best way to do so? I hope to get the default man page
formatting, not the plain text formatting as specified by "-t".
Thanks!
 
K

Kalyan Manchikanti

What's the best way to do so? I hope to get the default man page
formatting, not the plain text formatting as specified by "-t".
Thanks!

Did you try perldoc -oman ?

Kalyan
 
M

Mordecai

Did you try perldoc -oman ?

Kalyan

But that just gives the default man page formatting (as if without the
option, right?) while what I am trying to get is the postscript
version of that format. Perldoc doesn't seem to provide a simple
option to do so. Any further suggestions?
 
M

Mordecai

http://search.cpan.org/~ni-s/PodToHTML-0.05/podtohtml

-p

Generate PostScript rather than HTML. This is done using
HTML::FormatPS and font sizes etc. are not yet specifiable.

and

http://search.cpan.org/~stas/Pod-HtmlPsPdf-0.04/lib/Pod/HtmlPsPdf.pm

Thanks for the solution but I have neither packages installed at
work... Also it seems to be an overkill to convert pod to html first
then to ps. I was hoping to find something that can directly convert
the man page output of "perldoc" to ps, similar to what "man" allows
you to do via the "-t" or "-Tps" option...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top