EPUB Parameters

The following table lists the parameters specific to the stylesheets that generate EPUB.
Parameter Value Description
cover-image
URI. If the URI is relative, it is relative to the current working directory of the user.
No default value.
Specifies an image file which is to be used as the cover page of the EPUB file. This image must be a PNG or JPEG image. Its size must not exceed 1000x1000 pixels.
In theory, EPUB 3 also accepts SVG 1.1 cover images.
epub-identifier
String
Default value: dynamically generated UUID URN.
A globally unique identifier for the generated EPUB document (typically the permanent URL of the EPUB document).
epub2-compatible
Allowed values are: 'yes' and 'no'.
Default value: 'yes'.
Only applies to EPUB 3.
By default, the EPUB 3 files generated by ditac are made compatible with EPUB 2 readers. Specify 'no' if you don't need this compatibility.
generate-epub-trigger
Allowed values are: 'yes' and 'no'.
Default value: 'yes'.
Only applies to EPUB 3.
Specify 'no' if your EPUB 3 reader does not support epub:trigger yet. When generate-epub-trigger=no, ditac generates an @onclick attribute containing simple JavaScript code and declares the containing XHTML 5 page as being scripted.