Step zedai-to-epub3 {http://www.daisy.org/ns/pipeline/xproc}

Defined in: http://www.daisy.org/pipeline/modules/zedai-to-epub3/library.xpl

Input Ports

Port Description
fileset.in primary
in-memory.in sequence
tts-config

Text-To-Speech configuration file

Configuration file with voice mappings, PLS lexicons and annotations.

Output Ports

Port Description
fileset.out primary
in-memory.out sequence
status

Status of the TTS step and EPUB validation.

A result attribute indicates whether both the TTS step and the EPUB validation were successful ("ok"), or whether at least one of them failed ("error").

A tts-success-rate attribute contains the percentage of the input text that got successfully converted to speech.

temp-audio-files

List of audio files

List of audio files generated by the TTS step. May be deleted when the result fileset is stored.

tts-log sequence

Options

Local Name Namespace URI Default Description
stylesheet ''

CSS style sheets as space separated list of absolute URIs.

lexicon ()

PLS lexicons as list of absolute URIs.

source-of-pagination ()

Identifier for the source of page breaks, to be included as metadata in the EPUB.

include-tts-log 'false'

Whether or not to make the TTS log available on the "tts-log" port.

output-dir required

Root directory of the (expanded) EPUB 3.

Empty directory dedicated to this conversion.

package-doc-path 'EPUB/package.opf'

File path, relative to the root directory of the package document.

navigation-doc-path 'EPUB/toc.xhtml'

File path, relative to the root directory, of the navigation document.

content-path 'EPUB/'

File path, relative to the root directory, of the directory that will contain all files except mimetype, the files that need to be in META-INF, and the package and navigation documents which have their own setting.

temp-dir required

Empty directory dedicated to this conversion.

output-validation 'off'
chunk-size '-1'
audio 'false'

Enable Text-To-Speech

Whether to use a speech synthesizer to produce audio files.

audio-file-type 'audio/mpeg'

The desired file type of the generated audio files, specified as a MIME type.

Examples:

  • "audio/mpeg"
  • "audio/x-wav" (but note that this is not a core media type)
process-css 'true'

Set to false to bypass aural CSS processing.

xhtml-file-extension '.xhtml'

File name extension to use for XHTML documents.

.xhtml or .html.