Step dtbook-to-daisy3 {http://www.daisy.org/ns/pipeline/xproc}

DTBook to DAISY 3

Converts a single dtbook to DAISY 3 format

Defined in: http://www.daisy.org/pipeline/modules/dtbook-to-daisy3/library.xpl

Input Ports

Port Description
in-memory.in primary sequence

2005 DTBook file

It contains the DTBook file to be transformed. Any other document will be ignored.

tts-config

Text-To-Speech configuration file

Configuration file with voice mappings, PLS lexicons and annotations.

fileset.in

Output Ports

Port Description
in-memory.out primary sequence

Output documents

The SMIL files, the NCX file, the resource file, the OPF file and the input DTBook file updated in order to be linked with the SMIL files.

temp-audio-files sequence

List of audio files

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

validation-status
tts-log sequence
fileset.out

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.

include-tts-log 'false'

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

publisher ''

Publisher

The agency responsible for making the Digital Talking Book available. If left blank, it will be retrieved from the DTBook meta-data.

output-fileset-base required

Ouput fileset's base

fileset.out's base directory, which is the directory where the DAISY 3 publication will be stored if the user intends to store it with no further transformation.

audio true()

Enable text-to-speech

Whether to use a speech synthesizer to produce audio files.

audio-only true()

Audio only

SMIL files are not attached to any DTBook

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"
word-detection true()

Whether to detect and mark up words with <w> tags.

date ''

Date of publication of the DTB

Format must be YYYY[-MM[-DD]]

Defaults to the date in the DTBook, or the current date.

temp-dir ''

Empty directory dedicated to this step. If set, the directory will be used to store audio files. If not set, the audio files will be stored in temporary directory that is automatically created.