crosswire / xiphos

Xiphos is a Bible study tool written for Linux, UNIX, and Windows using GTK, offering a rich and featureful environment for reading, study, and research using modules from The SWORD Project and elsewhere.
http://xiphos.org
GNU General Public License v2.0
208 stars 51 forks source link

jude 20 fails, need to use jude 1:20 #906

Closed TomSullivanInUSA closed 4 years ago

TomSullivanInUSA commented 6 years ago

Using Debian 9, XFCE 4.12, Xiphos 4.1.0 (gtk3 webkit1). Type "jude 20" in either regular or parallel view and get Rev. 19:1. Type jude 1:20, and get it OK. Obadiah fails also.

Greg Hellings replied: This is the correct and intentional behavior of the SWORD engine that underlies Xiphos and parses the references.

My response to Greg: (Sorry, I do not know how to re-open a closed issue.) OK, I understand. Let us make it a feature request then to enhance usability. This would be a matter of Xiphos interposing a "1:" for single-chapter books before sending to the SWORD engine so that users doing the natural thing will get their passage. Xiphos staff, of course, will have to decide if it is worth it. (This is a resubmission of a closed issue, but I will not be a pest and reopen it again if the feature is decided against.:-) )

dmsmith commented 6 years ago

JSword does what you think it should. It also handles specifying chapter and verse. It disambiguates in favor of a verse number when it is a single chapter book context. When it is not a single chapter book context, it decides a single number is a chapter. The real complexity comes with book intros (0:0) and chapter intros (1:0). Only mention it because what you want is doable.

I don’t think this belongs in Xiphos, but in SWORD. That’s where the verse parser is.

In Him, DM

On Jun 28, 2018, at 11:17 AM, TomSullivanInUSA notifications@github.com wrote:

Using Debian 9, XFCE 4.12, Xiphos 4.1.0 (gtk3 webkit1). Type "jude 20" in either regular or parallel view and get Rev. 19:1. Type jude 1:20, and get it OK. Obadiah fails also.

Greg Hellings replied: This is the correct and intentional behavior of the SWORD engine that underlies Xiphos and parses the references.

My response to Greg: (Sorry, I do not know how to re-open a closed issue.) OK, I understand. Let us make it a feature request then to enhance usability. This would be a matter of Xiphos interposing a "1:" for single-chapter books before sending to the SWORD engine so that users doing the natural thing will get their passage. Xiphos staff, of course, will have to decide if it is worth it. (This is a resubmission of a closed issue, but I will not be a pest and reopen it again if the feature is decided against.:-) )

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/crosswire/xiphos/issues/906, or mute the thread https://github.com/notifications/unsubscribe-auth/ABkaDPVjhfn_xWR0qbFGRjXB1O_TlDXFks5uBPOQgaJpZM4U7ldU.