[sword-devel] Av11n modules - was Deuterocanonical books / Apocrypha
DM Smith
dmsmith at crosswire.org
Sun Feb 2 10:35:22 MST 2014
On Feb 2, 2014, at 12:29 PM, Barry Drake <bdrake at crosswire.org> wrote:
> 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.
Look under sword-tools in SVN:
http://www.crosswire.org/svn/sword-tools/trunk
Here is the file to which I was referring:
http://www.crosswire.org/svn/sword-tools/trunk/versification/v11nsys.pl
In Him,
DM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4145 bytes
Desc: not available
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20140202/3b33bac8/attachment.p7s>
More information about the sword-devel
mailing list