[sword-devel] BCV arithmetic problems

Karl Kleinpaste karl at kleinpaste.org
Thu Dec 11 13:25:18 MST 2014


Xiphos' navbar usage provides for mouse-scrolling the BCV indicators, or
hitting up/down arrows beside them.  The reaction to this is very
simple-minded BCV arithmetic, simply adding or subtracting 1 based on
the direction chosen, and then displaying the chapter per the resulting
reference.

I'm finding troubles in both KJV and as well as other v11ns, where
"Matt.1.1 - 1" doesn't result in "Mal.4.6".  In any ordinary unspecified
v11n module like ESV (so basic KJV v11n), when Xiphos is displaying
Matt.1.1 and I try to back up 1 verse, I end up in Zech.13.9.  Note that
it not only missed by a whole book, but by an extra chapter besides:
Zech has 14 chapters.

More peculiarly for av11n, when using KJVA, I have troubles with
Additions to Esther.  If I am in Wisdom.1.1, I can back up 1 verse and
reach AddEst.16.24, which is correct.  But I cannot move forward from
Judith.16.25; it just gets stuck there.  In Xiphos' display, there is a
contextual "verse after" the current chapter, and that correctly shows
AddEst.10.4, so the user can click that and get to the right place.

The worst problem for me in non-KJV v11n is that, in KJVA again, AddEst
does not appear in the navbar book selector at all.  I find this very
odd because directly navigating into AddEst works fine -- type a
reference and it just works -- but the process of filling the navbar's
book pulldown menu simply walks the set of books in sequence as offered
by the engine, so evidently the engine does not offer AddEst in the
first place, consequently the navbar is useless for reaching AddEst at all.

Any clues about these oddities would be welcome.  I am using Sword trunk
-r3289, and changes after that are all cmake-specific build updates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20141211/a836ce23/attachment.html>


More information about the sword-devel mailing list