[sword-devel] Osis Psalms canonical titles

Cyrille lafricain79 at gmail.com
Sun Mar 31 09:28:52 EDT 2019



Il 31/03/2019 14:42, DM Smith ha scritto:
> In the Bible, some translations the Psalm titles stand before verse 1.
> This is how the KJV does it. Other translations have it as verse 1.
>
> osis2mod tries to identify whether a title that stands before verse 1
> should be a chapter title (i.e. verse 0) or should be a verse title
> (i.e. verse 1). And it marks up titles in a fashion that SWORD engine
> expects. Dumping the module using mod2imp, will show how well or badly
> this was done.
>
> I think the problem here is the order of elements. So rather than
> <title><verse sID/>…<verse eID/></title> use <verse
> sID/><title>…</title><verse eID/>.
>
I tried this way, and BT can display it, but there is a line break just
after the verse number for Xiphos and for BT.
> The attribute canonical=“true” is supposed to tell the SWORD engine to
> always show the title. I think there are still problems with that. So,
> try turning Headers on, when you don’t see them.
All the other titles are displayed.
> In Him,
> DM
>
>> On Mar 31, 2019, at 5:13 AM, Cyrille <lafricain79 at gmail.com
>> <mailto:lafricain79 at gmail.com>> wrote:
>>
>> Hello,
>> I'm working on a text with canonical Psalms titles. When I convert it
>> from usfm to osis I have this result:
>> <div type="subSection">
>>         <chapter sID="Ps.3" osisID="Ps.3" n="3"/>
>>         <title>Invocazione mattutina del giusto perseguitato</title>
>>         <p></p>
>>         <!-- d -->
>>         <title type="psalm" canonical="true"><verse sID="Ps.3.1"
>> osisID="Ps.3.1" n="1"/>Salmo di Davide quando fuggiva il figlio
>> Assalonne.<verse eID="Ps.3.1"/></title>
>>         <lg>
>>           <l level="1"><verse sID="Ps.3.2" osisID="Ps.3.2"
>> n="2"/>Signore, quanti sono i miei oppressori!</l>
>>           <l level="1">Molti contro di me insorgono. <verse
>> eID="Ps.3.2"/></l>
>>
>> Is it correct? Because Bibletime doesn't display it
>> <https://github.com/bibletime/bibletime/issues/178>.
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> <mailto:sword-devel at crosswire.org>
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20190331/7314147f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: line-break-bt.png
Type: image/png
Size: 11889 bytes
Desc: not available
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20190331/7314147f/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: line_break_xiphos.png
Type: image/png
Size: 8316 bytes
Desc: not available
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20190331/7314147f/attachment-0003.png>


More information about the sword-devel mailing list