Create PDFs with working hyperlinks from HTML files

Aug 19, '03 09:46:00AM

Contributed by: joebeone

Being new to OS X, I really appreciate the "print to PDF" option for most apps and have taken to capturing web pages (confirmation screens, on-line documents, etc.) in PDF format. However, frequently I find myself wanting the links in the resultant "web capture" to be clickable. My solution is to save the page as "Web page, complete" in its own directory with my browser (Mozilla) and then I use HTMLDOC (GPL) from the command-line to translate the HTML to PDF via:

htmldoc --webpage -f outfile.pdf infile.html
The resultant PDF will be the HTML file deftly translated into PDF with links (internal or external to the document) that are clickable in Acrobat Reader (or any PDF reader that can read links).

Comments (21)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20030818002506353