Options

-v
Display progress messages on the console.
-p param_name param_value
Parameterize the output of whc.

The reference of parameters supported by whc is found below.

-toc toc_xml_URL_or_file
Generate a Table of Contents.

This XML input file must conform to the following RELAX NG schema: schema/toc.rnc. A sample TOC XML file is found in toc.xml.

Note a Table of Contents is systematically generated, even when the -toc option has not been specified. By default, whc generates a simple, flat, TOC comprising the titles of the XHTML input pages.

-index index_xml_URL_or_file
Generate a “back of the book Index”.

This XML input file must conform to the following RELAX NG schema: schema/index.rnc. A sample index XML file is found in index.xml.