Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spookylukey/thml_to_epub


https://github.com/spookylukey/thml_to_epub

Last synced: 13 days ago
JSON representation

Awesome Lists containing this project

README

        

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