This is a piece of software to help you generate your own copy of the bible!
pip install -r requirements.txt
- Download the copy of your bible from Crosswire's Module Database. I personally chose: GerBoLut
- Save the location of
[bible_id].zip
- Execute
main.py
python -m bible_maker --module [bible_id].zip
- Compile the
generate.tex
file. For example:
latexmk -pvc -pdf -xelatex -interaction=nonstopmode generate.tex
or
latexmk -pdflatex=lualatex -pdf .\generate.tex
- Download the copy of your bible from Crosswire's Module Database. I personally chose: GerBoLut
- Download a copy of schierlm's BibleMultiConverter. I'd
recommend
BibleMultiConverter-AllInOneEdition-0.0.8.zip
(this is the current version available as of 29/08/2022) - Unzip your copy of BibleMultiConverter. This created the directory
C:\Users\black\Downloads\BibleMultiConverter-AllInOneEdition-0.0.8
on my system. Unzip your Bible from crosswire into a folder of the same nameExtract from the downloaded zip (i.e.GerBoLut.zip -> .\GerBoLut
. Move this folder into the same folder as BibleMultiConverter (WARNING: This is not the correct method as of 16/01/2022, you need to install this bible as a module, to do this easily download a copy of Bible Time and install your bible from there)gerbolut.zip
):/modules/texts/ztext/
. ForGerBoLut
this meant I now had a file calledGerBoLut
containing bothot
andnt
files (i.e.nt.bzz
)- Open a commandline window in the directory which contains
BibleMultiConverter-AllInOneEdition.jar
. ( Shift+Right-ClickOpen PowerShell window here
) - Generate a "Diffable" file:
For example, if I was doing this for
GerBoLut
:
> java -jar .\BibleMultiConverter-AllInOneEdition.jar SWORD .\GerBoLut\ Diffable .\gerbolut.txt
The general form would be:
> java -jar .\BibleMultiConverter-AllInOneEdition.jar SWORD .\<FOLDER CONTAINING modules DIRECTORY>\ Diffable .\<any text file name>.txt
- Download a copy of my bible maker!
- Copy your text file to the same directory and open a new powershell window here (as seen in 5.)
- Open the
template.tex
file and change the author, date, name as you like! - Generate your bible tex file:
> python -m bible_maker -b .\<the name of your text file>.txt
- Compile your
.tex
file in any way you like! For example:
> pdflatex .\generate.tex
- You can't mess and change the names of the books in the bible, because the
paragrapher
relies on these names to be the same, this could cause any number of issues if you start fiddling with stuff! This should be fixed sometime in the future! - If you don't have much memory
pdflatex
can sometimes fail
You may be wondering how this version of the bible has convenient breaks throughout the text (not in the PSALMS though), this is using the sister project Carriage Return Bible Versifier (also developed by me). After you have generated your first bible without these convenient line breaks, consider going over there and checking it out!
- Thanks to schierlm for his amazing BibleMultiConverter
- Thanks to The CrossWire Bible Society for continuing to provide easy access to Bibles in many languages!
usage: __main__.py [-h] [--paragrapher PARAGRAPHER] (--module MODULE | --bibletxt BIBLETXT)
A software for generating bibles
options:
-h, --help show this help message and exit
--paragrapher PARAGRAPHER, -p PARAGRAPHER
select where the paragraphing json is
--module MODULE, -m MODULE
Choose which bible SWORD module zip to use
--bibletxt BIBLETXT, -b BIBLETXT
Choose which bible DIFFABLE you will use