odt2daisy

2 0

odt2daisy converts OpenDocument Text (ODT) to digital talking books in the DAISY format (DAISY 2.02, DAISY 3.0 XML and Full DAISY 3.0). The extension supports Mathematical Markup Language (MathML) and multilingual documents. It uses the text-to-speech engines installed in the user's operating system for speech synthesis.

Project Description

Installation

  1. Download the extension and unzip it.
  2. In LibreOffice Writer, go to Tools > Extensions, and browse to the OXT file to add the extension.
  3. After restarting LibreOffice, the extension is ready to use.

Preparing Documents for Conversion to DAISY

In order to export usable DAISY books, the text document that is used as a source must be reasonably accessible. OpenDocument Text (ODT) files must at least fulfil the following criteria:

  • The document's default language must be correctly identified.
  • Any language changes inside the document must be correctly identified.
  • Images must be in either PNG or JPEG format; other formats are not supported by DAISY.
  • Headings must use correct styles: Heading 1, Heading 2, etcetera, instead of big bold text.
  • Images and other non-text objects must have a text alternative. To provide a text alternative for an object, right-click on the object, select Description, and fill in the Title field. For complex images, also add a detailed description in the Description field.

For more detailed accessibility techniques, please consult the guidelines provided by the Accessible Digital Office Document (ADOD) Project at adod.idrc.ocad.ca.

Using odt2daisy

To create a Full DAISY book (a book with both text and sound), select "Export as Full DAISY" in the File menu, or the corresponding button on the Standard toolbar. odt2daisy will prompt for a location and file name. In the next step, odt2daisy prompts for metadata (see screenshot):

  • UID is a unique identifier generated by odt2daisy;
  • the Title field is copied from the Document Properties (or the first Title style if the Title field in the Document Properties is empty),
  • the Creator field is copied from the author metadata in the ODT file,
  • the Publisher field refers to the publisher of the DAISY book and is only relevant to organisations that publish DAISY books,
  • the Producer field refers to the organisation that produced the DAISY book, typically on behalf of the publisher,
  • the Language field is automatically generated from metadata in the ODT file,
  • "Use alternative level markup" should be checked if the ODT file uses more than 6 levels of headings,
  • "Include page numbers" includes the page numbering of the ODT file in the DAISY book, in order to help users of the DAISY version navigate to the same pages as users of a printed version of the same document,
  • "Include CSS" can be checked when the DAISY XML code will be viewed in a web browser,
  • Bitrate uses a default value of 32 kbit/s, which is sufficient for synthetic speech,
  • "Apply fix routines to DAISY book" enables some obvious structural fixes to make sure that the DAISY book plays in all DAISY players,
  • "Apply sentence detection" should be checked when the DAISY book will be played in a DAISY player that supports synchronous highlighting of the text that is being spoken.

After pressing Export, the conversion will start. Part of the conversion process is handled by the DAISY Pipeline Lite, which displays a completion dialog when the conversion has ended.

In order to play the DAISY book, open the speechgen.opf file in the z3986 folder; this will play the DAISY 3.0 version. The DAISY 2.02 version in the daisy202 folder is provided for compatibility with older DAISY players.

In order to export only DAISY XML instead of Full DAISY, select "Export as DAISY XML" in the File menu, or the corresponding button on the Standard toolbar. odt2daisy will prompt for a location and file name. In the next step, odt2daisy will prompt for the same metadata as in the Full DAISY export process, but the options related to speech synthesis (bitrate, fix routines and sentence detection) will be omitted. odt2daisy will then directly export DAISY 3.0 XML, without using the DAISY Pipeline Lite.

For a list of DAISY players, consult the Wikipedia article "DAISY Digital Talking Book" or the website of the DAISY Consortium.

Category/Categories

Writer Extension

Homepage of the Project

http://odt2daisy.sf.net/

Logo

Current Release

odt2daisy - 2.1

Released Nov 07, 2011 — tested with:

LibreOffice 3.3, LibreOffice 3.4,

Version 2.1 (19 April 2010) for LibreOffice 3.x and OpenOffice.org 3.0 or higher
More about this release…

All Releases

Version

Released

Platform(s)

Compatibility

Description

License(s)

Status

2.1

Nov 07, 2011
    • LibreOffice 3.3
    • LibreOffice 3.4
    Version 2.1 (19 April 2010) for LibreOffice 3.x and OpenOffice.org 3.0 or higher
    • LGPL-v3+ (GNU Lesser General Public License Version 3 and later)
    final

    Legal Disclaimer and Limitations for Downloads

    The Document Foundation has not reviewed, and cannot review, all of the material, including computer software, available on or by means of The Document Foundation's
    websites, and cannot therefore be responsible for that material's content, use or effects. By operating its websites, The Document Foundation does not represent or imply that it endorses the material there available, or that it believes such material to be accurate, useful or nonharmful. You are responsible for taking precautions as necessary to protect yourself and your computer systems from viruses, worms, Trojan horses and other harmful or destructive content. The Document Foundation's websites may contain content that is offensive, indecent or otherwise objectionable, as well as content containing technical inaccuracies, typographical mistakes and other errors. The Document Foundation's websites may also contain material that violates the privacy or publicity rights, or infringes the proprietary rights, of third parties, or the downloading, copying or use of which is subject to additional terms and conditions, stated or unstated. The Document Foundation disclaims any responsibility for any harm resulting from the use by The Document Foundation's visitors of The Document Foundation's websites, or from any downloading by those visitors of content available on or by means of The Document Foundation's websites.

    Changes

    Content contained on The Document Foundation's websites, including these Legal Disclaimers and Limitations, may be changed at the sole discretion of The Document Foundation and without notice. You are bound by any such updates or changes, and so should periodically review these Legal Disclaimers and Limitations.

    If you believe any file is present on the site contrary to any TDF rule or applicable law, please supply full details to info@documentfoundation.org for impartial consideration.