Chapter 4 - HTMLDOC from the Command-Line

This chapter describes how to use HTMLDOC from the command-line to convert web pages and generate books.

Converting Web Pages

To convert a web page type: The "--webpage" option tells HTMLDOC that you want to convert a web page or other unstructured document.

The "-f" option tells HTMLDOC what file to generate. If you don't specify an output file then a PDF file is send to the standard output.

Generating Books

To generate a book from one or more HTML files type: The "--book" option tells HTMLDOC that you want to generate a book from the HTML file(s) you specified.

Setting the Title Image

The --titleimage sets the image to use on the title page: HTMLDOC supports GIF, JPEG, and PNG images.