Converter from ThML to epub
ThML is a format used to mark up theological books, developed by CCEL.
This repo contains the beginnings of a converter to epub format.
It doesn't yet produce fully valid epub files, but they can be viewed in several ebook readers including calibre and lucidor.
Usage
$ python thml_to_epub.py book.xml
An epub file book.rough.epub
is created ('rough' to indicate the current
state of conversion, and to avoid overwriting a better epub file which might
exist!)
TODO
- Handle various things in http://www.ccel.org/ThML/ThML1.04.htm that we are not handling yet e.g.
term
,index
- Possibly split files into multiple files in epub structure.
See http://www.manuel-strehl.de/dev/simple_epub_ebooks_with_python.en.html