<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">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.<div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">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/>.</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">In Him,</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>DM</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 31, 2019, at 5:13 AM, Cyrille <<a href="mailto:lafricain79@gmail.com" class="">lafricain79@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15" class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
Hello,<br class="">
I'm working on a text with canonical Psalms titles. When I convert
it from usfm to osis I have this result:<br class="">
<font color="#ff0000" class=""><tt class=""><div type="subSection"></tt><tt class=""><br class="">
</tt><tt class=""> <chapter sID="Ps.3" osisID="Ps.3" n="3"/></tt><tt class=""><br class="">
</tt><tt class=""> <title>Invocazione mattutina del giusto
perseguitato</title></tt><tt class=""><br class="">
</tt><tt class=""> <p></p></tt><tt class=""><br class="">
</tt><tt class=""> <!-- d --></tt><tt class=""><br class="">
</tt><tt class=""> <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></tt><tt class=""><br class="">
</tt><tt class=""> <lg></tt><tt class=""><br class="">
</tt><tt class=""> <l level="1"><verse sID="Ps.3.2"
osisID="Ps.3.2" n="2"/>Signore, quanti sono i miei
oppressori!</l></tt><tt class=""><br class="">
</tt><tt class=""> <l level="1">Molti contro di me
insorgono. <verse eID="Ps.3.2"/></l></tt></font><br class="">
<br class="">
Is it correct? Because Bibletime <a moz-do-not-send="true" href="https://github.com/bibletime/bibletime/issues/178" class="">doesn't
display it</a>.<br class="">
<br class="">
</div>
_______________________________________________<br class="">sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" class="">sword-devel@crosswire.org</a><br class=""><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" class="">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br class="">Instructions to unsubscribe/change your settings at above page</div></blockquote></div><br class=""></div></body></html>