[sword-devel] verse position problems
DM Smith
dmsmith at crosswire.org
Tue Feb 25 13:16:41 MST 2014
Apparently, this module was created by an earlier version of osis2mod. Back in the day, content between verses was assumed to be only titles. Those were pulled out and placed at the beginning of a verse and marked with subType="x-preverse".
The rest of the non-title content was assumed to be part of the verse. And thus such elements caused the verse number to be put after the titles and before the newlines.
This module should be rebuilt to fix the bug.
The current behavior of osis2mod (and it has been this way for a while now) is to mark everything between verses with a pre-verse div. The SWORD engine is supposed to put all of this in the pre-verse "heading". It really is no longer a heading as most of it is supposed to display when headings are turned off. (I think there may still be a problem with vertical whitespace between verses, but that is a different issue)
You are right that there is no verse number in the module. It is the pre-verse div or title that is used to indicate where the verse number goes.
Building the module as raw and using the -d 2 will allow one to look at the file to see the output verse by verse.
DM
On Feb 25, 2014, at 2:54 PM, Karl Kleinpaste <karl at kleinpaste.org> wrote:
> On 02/25/2014 02:22 PM, DM Smith wrote:
>> Some of the frontends have problem displaying verse numbers in the right place with RtoL text.
>> Otherwise, I think it is a problem with your text. The verse number will be placed where the <verse> element starts.
> It's not a problem merely with RtoL text. See vv.1,4,7,8,9 here:
> http://karl.kleinpaste.org/xiphos/LEB-verse-number-offset.png
>
> LEB Rev.1.1 markup shows a paragraph break at its beginning. There are no <verse> elements, so I can only assume that they do not survive osis2mod, or LEB doesn't use them in the first place.
>
> $$$Revelation of John 1:1
> <div sID="gen31178" type="section"/> <title subType="x-preverse">Prologue</title> <div sID="gen31179" type="paragraph"/>The revelation of Jesus Christ, which God gave him to show to his slaves <transChange type="added">the things</transChange> which must take place in a short time, and communicated <transChange type="added">it</transChange> <transChange type="added">by</transChange><note>Here “<catchWord>by</catchWord>” is supplied as a component of the participle (“sending”) which is understood as means</note> sending <transChange type="added">it</transChange> through his angel to his slave John,
>
> Also, in Xiphos, order of content generation is pre-verse heading, then internal generation of verse#, then verse content.
> _______________________________________________
> 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/20140225/30240628/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/20140225/30240628/attachment-0001.p7s>
More information about the sword-devel
mailing list