Skip to content
README.md 1,18 KB
Newer Older
Thorsten Eggeling's avatar
Thorsten Eggeling committed
# TextExporter
Thorsten Eggeling's avatar
Thorsten Eggeling committed
Convert Libre Office Files to DocBook (Linux).

Installation of Libre Office is not rquired. 

Conversion is done by Python scripts and XSLT transformation.
Thorsten Eggeling's avatar
Thorsten Eggeling committed

**Requirements (Ubuntu)**

`sudo apt install python xsltproc default-jre fop ant xterm`

**Usage**

`./lwTextExporter.py -c html ~/lwText/Beispiele/beispiel_de.odt`

Converted files: "Ausgabe/beispiel_de"
Thorsten Eggeling's avatar
Thorsten Eggeling committed

Thorsten Eggeling's avatar
Thorsten Eggeling committed
"-c" defines the output format

Possible values:

**html**: one HTML file with table of contents.

**html_nav**: one HTML file for each chapter. The first file is called "index.html". Navigation links like "Weiter" an "Back" are included.

**pdf**: creates a PDF file with title page and bookmarks.

**epub**: Ebup file with table of contents and cover image from "Vorlagen/epub3/cover/cover.jpg".

**webhelp**: similar to „html_nav“. One HTML file for each chapter, the first file is "index.html". Contents navigation with sidebar. Search funktion ist included. Template see "Webhelp/template".

**Credits**

**OOo2DBK**: OOo2DBK is an OpenOffice.org document to DocBook XML converter.

Copyright 2003-2007 Nuxeo SAS <http://nuxeo.com>

Copyright 2002 Eric Bellot

**DocBook**: https://tdg.docbook.org/tdg/4.5/index.html