[sword-devel] Quick question on alternative versification

Daniel Owens dhowens at pmbx.net
Wed Dec 17 23:13:47 MST 2008

Chris Little wrote:
> Daniel Owens wrote:
>> Can anyone give me some quick pointers on how to use xml2gbs to 
>> compile a module with deuterocanonical material? I have a source file 
>> I itching to try out, and for now I have resorted to deleting the 
>> extra material using a Perl script so I can compile using osis2mod.
>> 1. Do I need to compile SWORD from SVN?
> At a minimum. Even with Sword from SVN, I'm not sure there are any 
> frontends that can display GenBook Bibles and I don't know that the 
> whole implementation within Sword itself is completed.

Maybe I need to sit tight for awhile. If anyone wants a source file to 
play with, I have one (including permission for CrossWire to 
distribute). Should I put the KJV-only version (wink wink) into beta or 
just sit tight?

>> 2. Do I have to do anything special to the OSIS (I tried xml2gbs once, 
>> and it quit after a few verses I think.)? The structure is BSP, not BCV.
> You shouldn't need to do anything to your Bible, assuming it is encoded 
> with the correct OSIS book IDs. That said, I don't recall whether I have 
> ever attempted to import a book with milestoned chapter/verse elements 
> and I don't recall having written anything in xml2gbs to handle these 
> elements. So it may be that the BSP style is causing your problems.

OSIS file validates except for a section in Daniel which uses the 
Dan.3.90!+ format, which is forbidden in OSIS. Perhaps I will need to 
use x instead of +, but it's a bummer to change it from the printed 
version. I guess it's a moot point until front-ends start supporting 
alternative versification.

Milestoned verse elements are a real pain, but it's hard to do anything 
but canonical text unless you use them. There's no way to handle 
paragraphs and poetry, unless I'm mistaken.


> --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

More information about the sword-devel mailing list