xml.xproc.html-to-epub3.convert.xpl Maven / Gradle / Ivy
Transforms XHTML into an EPUB 3 publication.
Input HTML document(s) and resources
If the fileset includes a navigation document, it should be marked with a
role
attribute with value nav
, and it should be a HTML
document. At most one navigation document may be specified. If no navigation document is
specified, one is generated from all the HTML documents.
If the fileset includes a cover-image
,
it should be marked with a role
attribute with value
cover-image
.
Metadata
TTS configuration file
Configuration file that contains text-to-speech properties, links to aural CSS
stylesheets and links to PLS lexicons.
The EPUB 3 publication (not zipped)
List of audio files
List of audio files generated by the TTS step. May be deleted when the
result fileset is stored.
Whether or not to make the TTS log available on the "tts-log" port.
Note that if this option is set to false, it can still be overwritten by the
"org.daisy.pipeline.tts.log" property.
Root directory of the (expanded) EPUB 3.
Empty directory dedicated to this conversion. May be left empty in which
case a temporary directory will be automaticall created.
Skip the HTML upgrade and clean up steps.
Enable TTS
Whether to use a speech synthesizer to produce audio files.
Set to false to bypass aural CSS processing.
px:epub3-safe-uris
px:epub3-ensure-core-media
px:epub3-add-navigation-doc
px:epub3-create-mediaoverlays
px:epub3-create-package-doc
px:epub3-ocf-finalize
px:fileset-load
px:fileset-join
px:fileset-rebase
px:fileset-purge
px:fileset-update
px:fileset-filter-in-memory
px:assert
px:html-fixer
px:html-upgrade
px:diagram-to-html
px:tts-for-epub3
Move to EPUB/ directory
Remove resources that do not exist on disk or in memory
Also normalizes @href, @original-href and @xml:base
Change @href with EPUB-safe URIs
Upgrade to XHTML 5
Clean http-equiv
Set language
Fix content models
Clean outline
Clean resource references
Generate the EPUB 3 navigation document
Add SMIL and audio files
Generate SMIL files and copy audio files
Extract metadata
Generate the EPUB 3 package document
Remove files from memory that are not in fileset