
doc.transformers.se_tpb_zed2daisy202.html Maven / Gradle / Ivy
The newest version!
se_tpb_zed2daisy202
Transformer documentation: se_tpb_zed2daisy202
Transformer Purpose
This transformer converts a z3986 2005 (type 4) DTB fileset to a Daisy 2.02
(type 4) DTB fileset. It is typically used as one of the last transformers
of a Narrator transformer chain.
Input Requirements
The transformer has only been tested with z3986 DTBs created by the Narrator
transfomer chain. The current known limitations are:
- The first par of each zed smil file must be a heading (daisy 2.02 style)
- The smil clip of a note must immediately follow the smil clip of the noteref
- No parts of the book may reside in subfolders
- Only one DTBook document (per book) may be used
- The docTitle element in the NCX must have an audio clip
- Only type 4 (full text, full audio) DTBs are supported
Output
On success
A valid type 4 Daisy 2.02 DTB with full skippability (page numbers, sidebars, production notes and foot notes).
On error
No specific recovery scheme. On error, this transformer will send
a fatal message, then throw an exception and abort.
Configuration/Customization
Parameters (tdf)
- manifest
- The manifest file of the input fileset (i.e. the .opf file of the z3986-2005 fileset.
- outDir
- The directory where the Daisy 2.02 output should be placed
- hrefTarget
- The SMIL element (
text
or par
) to target by href URIs in the content document and NCC. Defaults to PAR
Further development
Support for any z3986 2005 book, not just the ones created by Narrator.
Dependencies
Saxon8 is used for the XSLT based steps of this transformer.
Author
Linus Ericson, TPB
Licensing
LGPL
© 2015 - 2025 Weber Informatics LLC | Privacy Policy