Skip to content

mondele/usfm2html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usfm2html

Creates "pretty" html/css output from USFM files

Changes in v. 0.5:

Added code to ignore Strong's numbers, etc., from USFM 3

Changes in v. 0.4:

Removed <!--NewPage--> comments. These were causing issues printing from LibreOffice, but didn't seem to cause page breaks as intended.

Changes in v. 0.3:

Correctly deals with UTF-8 files that otherwise may not display correctly.

Changes in v. 0.2:

Adding/changing code to deal with Bahasa USFM files

Usage python3 usfm2html.py <path to USFM file>

The output of this command can be run through html2ps and then ps2pdf in order to produce pdf output. Please note that any errors in the USFM will likely produce formatting errors in the HTML, and thus in the PDF.

About

Creates "pretty" html/css output from USFM files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages