How to output an info page to pdf

infomanpdf

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 and texi2pdf programs.

So if you find the info source (info.texi) you can generate beautiful (or bloated, depending on your point of view) PDF using:

texi2pdf info.texi
Related Question