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

Barry Drake bdrake at crosswire.org
Mon Feb 3 14:30:09 MST 2014

On 03/02/14 18:06, DM Smith wrote:
> 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.

Thanks for the above - it's really helpful.  Now I've got Sword to 
build, I'm going to get on with it.  I've copied the NRSVA header into a 
web header and started work on it.  It should be fairly 
straightforward.  I've been looking at versificationmgr code as well, 
and it seems fairly straightforward to add another Av11n specification.  
It's taking me a while to get back up to speed. It's a few years since I 
looked at the Sword code and I'm very rusty, but getting there.

God bless,        Barry.

More information about the sword-devel mailing list