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

DM Smith dmsmith at crosswire.org
Mon Feb 3 11:06:47 MST 2014

It may not be obvious, but SWORD and osis2mod is really picky when it comes to Bible book names.

Chris notes that the WEB OSIS file has errors in the Bible book names. These have to be fixed for osis2mod to not complain about something it does not know.

Also, the chapter and verse numbers for each book starts at 1 and goes up from there. So, the note that AddPs.151 is AddPs.1 in SWORD means that AddPs starts at chapter 1. There is no chapter 151.

Also, Chris is probably correct about the seg fault. I have encountered a seg fault when osis2mod encounters a book name it does not recognize. I've also encountered seg faults for chapters not in the av11n. Actually, SWORD library seg faulted.

With those fixed, the NSRVA might be very close.

Hope this helps.

In His Service,

On Feb 2, 2014, at 6:22 PM, Chris Little <chrislit at crosswire.org> wrote:

> On 02/02/2014 06:57 AM, Barry Drake wrote:
>> On 02/02/14 11:20, Barry Drake wrote:
>>> Correct me if I'm wrong, but currently the only modern English
>>> Language version I can see that contains the deutero-canon is the CPDV
>>> version.  I'm not at all sure about this version, partly because it is
>>> a bit ponderous to read, and also because it is the work of only one
>>> person rather than a group of translators.  Michael mentions the WEB
>>> version as having the extra books - the Sword module I can find
>>> contains only the 66 book canon.  Is there anything else out there
>>> please?
>> I thought I'd have a play.  I downloaded the osis file from
>> http://ebible.org/ and using the command:   osis2mod ./
>> eng-webbe_osis.xml -z -v KJVA  and the following as a .conf file:
>> [webbe_a]
>> DataPath=./modules/texts/ztext/webbe_a/
>> ModDrv=zText
>> Encoding=UTF-8
>> BlockType=BOOK
>> CompressType=ZIP
>> SourceType=OSIS
>> MinimumVersion=1.6.1
>> SwordVersionDate=2009-10-24
>> OSISVersion=2.1.1
>> Version=
>> TextSource=
>> LCSH=Bible. English.
>> DistributionLicense=Public Domain
>> Lang=en
>> Description=World English Bible with Apocrypha
>> About=
>> Versification=KJVA
>> InstallSize=
>> I made a working module.  The osis2mod error messages show that neither
>> KJVA nor any of the other currently available 'with'apocrypha'
>> versifications are correct.  As an example, 4 Maccabees is ignored
>> completely ....  there are a host of other unsupported verses.  I wonder
>> if there is any chance someone could add a WEBA versification (or
>> explain to me very gently how to make one?)  Chris Little maybe?
>> God bless,        Barry.
> There is no possibility that I would consider adding a versification system for the WEB. It fits none of the criteria warranting a new versification system.
> NRSVA should work fairly well, but there are some inconsistencies here & there. For example Ps 151 is called AddPs.151 in the WEB but AddPs.1 in Sword, and EpJer is called EpJer.6 in the WEB but Bar.6 in Sword. I'm not sure what's causing you a segfault, but I think it is sometimes caused by unrecognized book names. I'm currently working on improving osis2mod, so I'll keep an eye out for that issue.
> Alternately, Kostya made a suggestion a while back that might serve translations with quirky versifications like this. I'll comment on that suggestion when I get an opportunity to bump it for visibility.
> --Chris
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20140203/8f71ee9a/attachment-0001.html>
-------------- 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/20140203/8f71ee9a/attachment-0001.p7s>

More information about the sword-devel mailing list