Contents |
F.A.Q
- How to install odt2dtbook ?
- Why odt2dtbook works only with OpenOffice.org 3.0 (or grather) ?
- Why odt2dtbook doesn't detect the right document language ?
- Why the DAISY book have not pagenum tags ?
Answers
How to install odt2dtbook ?
- Open OpenOffice.org
- in menu "Tools", select "Extension Manager ..."
- Click on "Add..." button, and then, select the downloaded oxt file
- Restart OOo
Now, in a Writer View, you can see the Daisy DTBook Toolbar.
You can dock it in OOo Toolbar by drag-n-drop.
Why odt2dtbook works only with OpenOffice.org 3.0 (or grather) ?
Odt2dtbook works only with OOo.org 3.0 because it's compatible with ODF 1.2 (or grather).
Why odt2dtbook doesn't detect the right document language ?
You need to set the right document language like this in OOO.org with
"Tools" > "Language" > "For All Text" > YOUR LANGUAGE
Why my DAISY book have not pagenum tag ?
Odt2dtbook output a pagenum if only a header or a footer is in the page and have a Page Number Field.
You can do it like this:
"Insert" > "Footer" > "Default", and next "Insert" > "Fields" > "Page Number"
Supported Tags
| DAISY DTBook | OpenDocument Text |
|---|---|
| Major Structural Elements | |
| Level | Style "Heading 1" "~ 2" "~ 3" "~ 4" "~ 5" "~ 6" |
| Alternative Markup of Levels | Export dialog |
| Front Matter | All before 1st Heading or Section "BodyMatterStart" |
| Doctitle | Export dialog |
| Docauthor | Export dialog |
| Table Of Contents | OOo TOC |
| Body Matter | After 1st Heading or Section "BodyMatterStart" |
| Part | Template "Part" |
| Chapter | Template "Chapter" |
| Section | Template "Section" |
| Rear Matter | After Section "RearMatterStart" |
| Block Elements | |
| Address | Custom Style |
| Author | Custom Style |
| BridgeHead | Custom Style |
| ByLine | Custom Style |
| Dateline | Custom Style |
| Keyboard Input | Custom Style |
| Lists | OOo Lists |
| Footnote | OOo footnote |
| Rearnote | OOo endnote |
| Annotation | OOo Notes |
| Sidebar | OOo Frames |
| Paragraph | OOo paragraph, press [Enter] |
| Producer Note | Custom Style |
| Block Quotation | Custom Style |
| Sample | Custom Style |
| Inlines Elements | |
| Anchor | OOo Bookmark |
| Abbreviation | Custom Style |
| Acronym | Custom Style |
| Computer Code | Custom Style |
| Emphasis | Italic or Emphasis Style |
| Strong Emphasis | Bold or "Strong Emphasis" Style |
| Keyboard Input | Custom Style |
| Line Break | press [SHIFT+ENTER] |
| Pagenumber | Header or Footer with "Page Number" Field |
| Producer Note | Custom Style |
| Quotation | Style "Citation" |
| Sample | Custom Style |
| Sentence | Custom Style |
| Span | Custom Style |
| Superscript & Subscript | OOo Superscript & Subscript |
| Others Elements | |
| Table | OOo Table |
| MathML | OOo Formula |
| Pictures | OOo Pictures |
| Multi-Language | OOo Languages Options |
Unit Testing
odt2dtbook is tested using JUnit 4 and XmlUnit Library.
Latest Unit Testing files can be downloaded
here.
