[sword-devel] Canonical Psalm titles and SWORD search?
DM Smith
dmsmith at crosswire.org
Tue Jan 28 15:32:45 EST 2025
> On Jan 28, 2025, at 1:48 PM, Arnaud Vié <unas.zole+avie at gmail.com> wrote:
>
> Hi David,
>
> The usage of "acrostic" in this case is indeed semantically incorrect.
>
> According to the OSIS specification, the correct markup for a psalm canonical title is
> <title type="psalm" canonical="true">
> and it is perfectly allowed to occur before the first verse.
> The crosswire wiki mentions that, in this case, sword requires an additional attribute subType="x-preverse" on the title tag, though I'm not sure what the purpose of this tag is and if it affects your issue with searching.
>
subType=“x-preverse” is added by osis2mod. No one writing OSIS should need to put that in. SWORD uses this to handle material that stands before the verse number.
Early on pre-verse material was a heading. Later it could be more complex.
In a SWORD frontend it does something like this pseudo code.
if (showingHeadings or verse.headingIsCanonical())
output( verse.getHeading() )
output( verse.getVerseNumber() )
output( verse.getContent() )
Note, the above does not care if the module is OSIS, ThML, GBF, plain text, …
> As a side note, in many bibles, as you say, some psalm titles span several verses, and therefore the OSIS spec allows <verse/> tags in the middle of a psalm title - though currently sword does not support it because osis2mod does not transform the <title> tag to milestoned form.
>
Right. It doesn’t fit the pattern above.
What module exhibits this multi-verse title and in which Psalm? I’d like to take a look at it.
> Regards,
>
> Arnaud
>
>
> Le mar. 28 janv. 2025, 13:12, David Haslam <dfhdfh at protonmail.com <mailto:dfhdfh at protonmail.com>> a écrit :
>> Thanks John,
>>
>> Aside: I'm puzzled by the use of type="acrostic" when the 125 Psalms with canonical titles are nothing to do with acrostics, per se. Surely, that attribute should be reserved for the 22 stanza headings in Psalm 119 ?
>>
>> There are Alternative Versifications in which the canonical Psalm titles are assigned to verse 1 (or in a few cases to verses 1 & 2) with subsequent verse numbers being offset by +1 (or +2).
>> I was not enquiring about modules that are for Bible versions like that.
>>
>> In the KJV and many other modules, the Psalm titles proper are before the start of verse 1.
>>
>> Best regards,
>>
>> David
>>
>> Sent with Proton Mail <https://proton.me/mail/home> secure email.
>>
>> On Tuesday, January 28th, 2025 at 11:17 AM, Johan Marais <johan.marais at messianic.co.za <mailto:johan.marais at messianic.co.za>> wrote:
>>> David.
>>>
>>> In our translation I set Ps 6:1 as:
>>>
>>> <image003.png>
>>>
>>> And a ‘normal’ search in Xiphos 4.2.1 returns 7 results:
>>>
>>> <image002.png>
>>>
>>> Regards,
>>>
>>> Johan Marais
>>>
>>>
>>> -----Original Message-----
>>> From: sword-devel <sword-devel-bounces at crosswire.org <mailto:sword-devel-bounces at crosswire.org>> On Behalf Of David Haslam
>>> Sent: Tuesday, 28 January 2025 10:45
>>> To: sword-devel mailing list <sword-devel at crosswire.org <mailto:sword-devel at crosswire.org>>
>>> Subject: [sword-devel] Canonical Psalm titles and SWORD search?
>>>
>>>
>>> I just tried to search for the word 'Neginoth' using Xiphos.
>>>
>>>
>>> There were no results found!
>>>
>>>
>>> This word occurs in the canonical Psalm title for Ps.6 and five other Psalms.
>>>
>>>
>>> "To the chief Musician on Neginoth upon Sheminith, A Psalm of David."
>>>
>>>
>>> In view of the fact that canonical Psalm titles are translated from the original Hebrew, ought it not to be within the scope of SWORD search?
>>>
>>>
>>> Or is this merely a shortcoming of Xiphos?
>>>
>>>
>>> cf. Xiphos Advanced Search dialog allows search scope to look in footnotes, but there's no such option for titles.
>>>
>>>
>>> Of course, many Bible versions have non-canonical headings throughout the module, yet I'm not concerned with such in asking this question here.
>>>
>>>
>>> Best regards,
>>>
>>>
>>> David
>>>
>>>
>>> Sent with Proton Mail secure email.
>>>
>>> _______________________________________________
>>>
>>> sword-devel mailing list: sword-devel at crosswire.org <mailto:sword-devel at crosswire.org> http://crosswire.org/mailman/listinfo/sword-devel
>>>
>>> Instructions to unsubscribe/change your settings at above page
>>>
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org <mailto:sword-devel at crosswire.org>
>> http://crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
> <image002.png><image003.png>_______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org <mailto:sword-devel at crosswire.org>
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20250128/eb2ea5ad/attachment.htm>
More information about the sword-devel
mailing list