This script converts a DTBook 2005 document to another DTBook document where all the text nodes are translated Braille.
The script can be used to translate DTBook to Braille for later formatting.
You need to install Liblouis for this transformer to work.
This script has mostly been tested on Linux. When
the LibLouis library is not installed in a standard location and
cannot found (resulting in a UnsatisfiedLinkError),
the Java VM has to be started with the option -Djna.library.path=/path/to/liblouis/
This script maps an ISO language code taken from the xml:lang attribute and a contraction grade to a specific Liblouis table. If this mapping is not according to your specification check the mapping in the xsl in the transformer.
No specific requirements beyond that the input needs to be a valid DTBook 2005 document.
The script generates DTBook XML. All text nodes will be translated to Braille according to the xml:lang tag in the root node of the DTBook XML and the given contraction grade.
The documents linked below are parts of the Transformer technical documentation. These are developer and systems-administrator centric documents.