If man -t ls | ps2pdf - > ls.pdf
is useful for outputting the ls
man page via ps2pdf
to pdf, what about info pages?
I've tried something like the following but with no success:
info -o info | ps2pdf - > info.pdf
All this does is output a blank pdf file called info.pdf and output the body into a text file.
Best Answer
Ah, info brings along the
texi2ps
andtexi2pdf
programs.So if you find the info source (info.texi) you can generate beautiful (or bloated, depending on your point of view) PDF using: