[sword-devel] Creation of commentary using osis..
dmsmith555 at yahoo.com
Sat Feb 3 06:45:50 MST 2007
With a reference like <reference osisRef="Eph.2.1">Ephesians 2:1</
reference> the OSIS manual indicates that the osisRef is to be
understood as a reference to the same work. So properly, it refers to
the same commentary in which it is found.
The proper way to reference this would be to include a workID as a
prefix, such as Bible. Then it would be <reference osisRef="Bible:Eph.
To refer to a particular work, a more specific workID would be used,
perhaps KJV or Bible.KJV.
The workID is supposed to be declared in the header of the document.
The workID can be anything. It is the declaration that makes it
meaningful. But since Sword does not retain the document header, a
reliable mechanism is needed.
We have discussed this before and have come up with the idea that the
workID should match the module id (i.e. the name that is in the  at
the top of the module's conf.
Having said all this, Sword does not support osisRefs that have the
In His Service,
On Feb 2, 2007, at 7:41 PM, Pierre Marc Dumuid wrote:
> Hi again,
> I am continuing to attempt to create a sword module using OSIS and
> hit another annoyance.
> I have been using a sed script to auto convert bible reference into
> <reference osisRef="Ephesians.1.1">Ephesians 1:1</reference>
> and then when I run osis2mod, and preview it in BibleTime, I can hover
> my mouse over the bible references and it'll show me the bible
> verse for
> the default bible. This has all been going well, but recently I
> to try the modules on my friends Mac using macsword, and on my
> linux box
> using gnomesword2.
> In macsword, placing the mouse over the bible verse pops up a windows
> showing the text for that passage, but the COMMENTARY text, and not
> BIBLICAL text. (the biblical text being what people would rather be
> In gnomesword2 (2.2.1) the bible verse shows up as a hyperlink, but
> clicking on it, the preview doesn't switch to the verse??
> I have not seen what the windows version does yet .. Any comment on
> these errors? Am I referencing verses incorrectly?
> The modules & osis.xml file are in the zip file at:
> sword-devel mailing list: sword-devel at crosswire.org
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel