#985477 diatheke: Sticky titles

Package:
diatheke
Source:
sword
Description:
command line bible browsing and search tool
Submitter:
Lasse Kliemann
Date:
2021-03-20 13:39:02 UTC
Severity:
important
#985477#5
Date:
2021-03-18 23:41:21 UTC
From:
To:
Dear Maintainer,

$ diatheke -b KJV -f internal -k psalm145:2
Psalms 145:2: <w savlm="strong:H03117">Every day</w> <w  savlm="strong:H01288">will I bless</w> <w  savlm="strong:H01984">thee; and I will praise</w> <w savlm="strong:H08034">thy name</w> <w savlm="strong:H05769">for ever</w> <w savlm="strong:H05703">and ever</w>.
(KJV)

$ diatheke -b KJV -f internal -k psalm145:1-2
<title canonical="true" type="psalm"><w savlm="strong:H01732">David’s</w> <transChange type="added">Psalm</transChange> <w savlm="strong:H08416">of praise</w>.</title>Psalms 145:1: <w  savlm="strong:H07311">I will extol</w> <w savlm="strong:H0430">thee, my God</w>, <w savlm="strong:H04428">O king</w>; <w  savlm="strong:H01288">and I will bless</w> <w savlm="strong:H08034">thy name</w> <w savlm="strong:H05769">for ever</w> <w savlm="strong:H05703">and ever</w>.
<title canonical="true" type="psalm"><w savlm="strong:H01732">David’s</w> <transChange type="added">Psalm</transChange> <w savlm="strong:H08416">of praise</w>.</title>Psalms 145:2: <w savlm="strong:H03117">Every day</w> <w  savlm="strong:H01288">will I bless</w> <w  savlm="strong:H01984">thee; and I will praise</w> <w savlm="strong:H08034">thy name</w> <w savlm="strong:H05769">for ever</w> <w savlm="strong:H05703">and ever</w>.
(KJV)

We see here that the title ("David’s Psalm of praise.") is repeated
prior to the second verse if the first verse is also requested. I
don't think this is intended, and it causes problems in my
application. Indeed, when using -k gen-rev, the title

<title canonical="true" type="psalm"><w savlm="strong:H01732">David’s</w> <transChange type="added">Psalm</transChange> <w savlm="strong:H08416">of praise</w>.</title>

can still be found in the final verse of Revelation.

Version of sword-text-kjv is 2.10-1.

#985477#10
Date:
2021-03-19 16:38:56 UTC
From:
To:
Am 19.03.21 um 00:41 schrieb Lasse Kliemann:

There is the headings filter (-o h) which works with the upcoming KJV
module. I have just tested it.

#985477#17
Date:
2021-03-20 10:56:58 UTC
From:
To:
Bastian Germann <bastiangermann@fishpost.de> writes:

[..]

I thought -o h would cause things to be added, not taken away. It works
with the current WEB module from sword-text-web 353.0-1 though, compare
the outputs of:

diatheke -b engWEB2015eb      -f internal -k psalm145:1-2
diatheke -b engWEB2015eb -o h -f internal -k psalm145:1-2

Could this be incidental? Using -o h activates something that will then
incidentally suppress the bug?

#985477#22
Date:
2021-03-20 12:33:37 UTC
From:
To:
Am 20.03.21 um 11:56 schrieb Lasse Kliemann:

That is possible.

#985477#29
Date:
2021-03-20 12:57:18 UTC
From:
To:
So where do we go from here? I tested the latest SVN trunk yesterday as
per https://wiki.crosswire.org/Tutorial:Compiling_%26_Installing_SWORD,
and it shows the same bug. Do you know how to escalate this to the
developers? I could not find a bug tracker or such on their site.

The README in the SVN says: "Please email any questions or comments to:
sword-feedback@crosswire.org", while in the ChangeLog, a Troy
A. Griffitts <scribe@crosswire.org> is associated with the changes of
the past couple of years. Unless anyone has a better suggestion, I would
send a report to the first of these addresses now.

#985477#34
Date:
2021-03-20 13:07:57 UTC
From:
To:
Hi Lasse,

The bug tracker for upstream is at
https://tracker.crosswire.org/secure/Dashboard.jspa.

To discuss with the developers, their forum is at SWORD Developers'
Collaboration Forum
sword-devel@crosswire.org

Met vriendelijke groeten,
With kind regards,

Teus Benschop
https://freesoftwareconsultants.nl
https://bibledit.org

#985477#39
Date:
2021-03-20 13:35:39 UTC
From:
To:
Am 20.03.21 um 13:57 schrieb Lasse Kliemann:
https://tracker.crosswire.org/browse/API-202