[sword-devel] Av11n modules - was Deuterocanonical books / Apocrypha

Barry Drake bdrake at crosswire.org
Sun Feb 2 10:29:03 MST 2014


On 02/02/14 16:04, DM Smith wrote:
> IIRC, Chris has an automated tool to build a versification. In Perl, I think. It takes a list of verse references and spits out a v11n as a C++ header file. This would have to be added to the SWORD code base (very easy to do) and re-compiled.
> A versification is nothing more than an ordered book list and a list of chapters giving the number of verses in each. So, it is easy to construct from a list of verse references.

I've grabbed the latest trunk svn and had a look around.  I can't see 
Chris's Perl script in among it, but I reckon I could trawl through the 
WEB version online and manually edit canon_kjva.h to match the WEB 
versification that exists.  I might have a go and if I get it working, 
make it available for use.  Thanks for that.  I hadn't realised it would 
be as easy as adding the header and re-compiling the engine and 
osis2mod.  My coding is not really up to much these days, but as you 
say, the headers are only lists ... even I can probably work with that.

God bless,        Barry.



More information about the sword-devel mailing list