Binary package “htmldoc” in ubuntu precise
HTML processor that generates indexed HTML, PS, and PDF
HTMLDOC is a program for writing documentation in HTML and producing
indexed HTML, PostScript, or PDF output (with tables of contents).
It supports most HTML 3.2 and some HTML 4.0 syntax, as well as GIF,
JPEG, and PNG images.