This project comprises a framework for transforming .usfm files into specified targets.
It is primarily used for the Open English Bible, and may need adjustment if used for other purposes.
pip install pyparsing
For Word output:
pip install python-docx
Install copies of ConTeXt for PDF output:
http://wiki.contextgarden.net/ConTeXt_Standalone
Install Calibre for ePub output:
http://calibre-ebook.com
Install Crosswire tools for OSIS and Sword Module output:
brew install sword (on OS X)
git clone https://github.com/openenglishbible/USFM-Tools.git
cd USFM-Tools
python transform.py --target=singlehtml --usfmDir=/path/to/usfmfiles/ --builtDir=built/ --name=MyTranslation