Skip to content

githubber/USFM-Tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installation

Prerequisites

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)

Get code

git clone https://github.com/openenglishbible/USFM-Tools.git
cd USFM-Tools

Run

python transform.py --target=singlehtml --usfmDir=/path/to/usfmfiles/ --builtDir=built/ --name=MyTranslation

About

Tools for parsing and rendering USFM files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.9%
  • JavaScript 4.0%
  • Shell 3.5%
  • CSS 3.1%
  • HTML 0.5%