21.5.3 HTML Generated for EPUB

The HTML generated for EPUB is XHTML conformant, UTF-8 encoded, and formatted without the usual HTML navigation headers and footers. Most of these features are enabled with customization variables, such as USE_XML_SYNTAX or OUTPUT_FILE_NAME_ENCODING. Some features of printed output are used in EPUB. In particular, the Top node does not appear in the EPUB output, while a title page is generated. This is obtained by setting NO_TOP_NODE_OUTPUT.

The OUTFILE and SUBDIR customization variables values correspond initially to the EPUB directory container and/or the EPUB output file (see Container Directory and Output Files). These customization variables values are undefined or reset to the locations in the container directory where the XHTML files are output for the HTML generation. It is mentioned here because resetting customization variables is unusual; however, the variables reset are used internally for the conversion, and should not interact with any customization set by the user.

See HTML Customization Variables.