[sword-devel] Windows Barnes genbook reference quirks

Larry&Dana Stucky sword-devel@crosswire.org
Wed, 26 Mar 2003 11:07:16 +0100


The following is representative of quite a few problems with lists of cross-refs in Barnes' commentary.

Using Barnes for Luke 1:42:
Verse 42.(p) Blessed art thou among women. ... <snip>... the mother of the Messiah. Lk 1:28 

 (p) Jud 5:24, Lk 1:28 

It appears there are two main problems with the cross-references in this example. 

1) The first is mistaking Jud for Jude instead of Judges. I haven't done a search to find out how many times this error occurs. Consequently, instead of referencing Judges 5:24 (Barnes' intent), it references Jude 5:24, which puts it showing Rev. 5:13. 

2) The format for the multiple refs at the end of the comment forgets the ";" divider. So after referencing Jude 5:24, it correctly picks Luke as the next bookname, but since there is no ";", it takes the next chapter number as a verse based on the chapter of the first reference in the list, meaning, Luke 5:1. This renders both of the verse references quite useless for dynamic use. No matter how many different books and chapters may be referenced in such a list, they will all come out as chapter 5 followed by the intended chapter number treated as the verse number. Since this is a fairly common occurrence in Barnes' work, as it has been converted for Sword use, with the lack of the ";" between multiple verses, it seems that one of your scripts might be tweaked to work through the entire source and fix the majority of occurrences.

Thanks. Leo