1. edin1
  2. bok2tex


A Python tool to convert a shamela.ws .bok file to XeLaTeX/PDF.

Requires MDB tools (mdbtools). Requires the Scheherazade font from SIL. Requires a recent version of XeTeX (e.g. via TeXLive).

Right now the tool generates a PDF sized for Kindle DX's screen, and getting it to work on Windows is tricky because of the mdbtools dependency. Unfortunately, Maktaba Shamila uses the dreadful Microsoft Access Database file format (.bok, ie. mdb), so mdbtools is needed to convert it to the platform independent and Free/Libre/Open Source SQLite database file format.

Home page of the project: http://bitbucket.org/edin1/bok2tex

You can install it with: pip install http://bitbucket.org/edin1/bok2tex/get/tip.zip

Maktaba Shamila: http://www.shamela.ws