<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <br>
    <div class="moz-cite-prefix">Il 31/03/2019 14:57, David Haslam ha
      scritto:<br>
    </div>
    <blockquote type="cite"
cite="mid:IxIEEQKNlpIDxeB4WQ5z3Veejgy4vjaEbaf26Aqh87ned4nSDc_BYWTG2vFTqUZ5TWKti9-VdLmPe1KqMo0QPDhkOECvzn46QUl67EeBQ7o=@protonmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div>There may be an underlying issue. </div>
      <div><br>
      </div>
      <div>\d \v 1 Psalm title ...</div>
      <div>\q verse text ...</div>
      <div><br>
      </div>
      <div>is valid USFM and is even advised by UBS for some
        translations. <br>
      </div>
    </blockquote>
    I respect this way to do. The usfm is valid. I will test with the DM
    advice. That means maybe u2o.py should be modified.<br>
    <blockquote type="cite"
cite="mid:IxIEEQKNlpIDxeB4WQ5z3Veejgy4vjaEbaf26Aqh87ned4nSDc_BYWTG2vFTqUZ5TWKti9-VdLmPe1KqMo0QPDhkOECvzn46QUl67EeBQ7o=@protonmail.com">
      <div><br>
      </div>
      <div>After converting to OSIS, this construction becomes
        problematic for SWORD. </div>
      <div><br>
      </div>
      <div>David</div>
      <div><br>
      </div>
      <div id="protonmail_mobile_signature_block">Sent from ProtonMail
        Mobile</div>
      <div><br>
      </div>
      <div><br>
      </div>
      On Sun, Mar 31, 2019 at 13:42, DM Smith &lt;<a
        href="mailto:dmsmith@crosswire.org" class=""
        moz-do-not-send="true">dmsmith@crosswire.org</a>&gt; wrote:
      <blockquote class="protonmail_quote" type="cite"> 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 &lt;title&gt;&lt;verse sID/&gt;…&lt;verse
          eID/&gt;&lt;/title&gt; use &lt;verse
          sID/&gt;&lt;title&gt;…&lt;/title&gt;&lt;verse eID/&gt;.</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 &lt;<a
                  href="mailto:lafricain79@gmail.com" class=""
                  moz-do-not-send="true">lafricain79@gmail.com</a>&gt;
                wrote:</div>
              <br class="Apple-interchange-newline">
              <div class="">
                <div 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 class="" color="#ff0000"><tt class="">&lt;div
                      type="subSection"&gt;</tt><tt class=""><br
                        class="">
                    </tt><tt class="">        &lt;chapter sID="Ps.3"
                      osisID="Ps.3" n="3"/&gt;</tt><tt class=""><br
                        class="">
                    </tt><tt class="">        &lt;title&gt;Invocazione
                      mattutina del giusto perseguitato&lt;/title&gt;</tt><tt
                      class=""><br class="">
                    </tt><tt class="">        &lt;p&gt;&lt;/p&gt;</tt><tt
                      class=""><br class="">
                    </tt><tt class="">        &lt;!-- d --&gt;</tt><tt
                      class=""><br class="">
                    </tt><tt class="">        &lt;title type="psalm"
                      canonical="true"&gt;&lt;verse sID="Ps.3.1"
                      osisID="Ps.3.1" n="1"/&gt;Salmo di Davide quando
                      fuggiva il figlio Assalonne.&lt;verse
                      eID="Ps.3.1"/&gt;&lt;/title&gt;</tt><tt class=""><br
                        class="">
                    </tt><tt class="">        &lt;lg&gt;</tt><tt
                      class=""><br class="">
                    </tt><tt class="">          &lt;l
                      level="1"&gt;&lt;verse sID="Ps.3.2"
                      osisID="Ps.3.2" n="2"/&gt;Signore, quanti sono i
                      miei oppressori!&lt;/l&gt;</tt><tt class=""><br
                        class="">
                    </tt><tt class="">          &lt;l level="1"&gt;Molti
                      contro di me insorgono. &lt;verse
                      eID="Ps.3.2"/&gt;&lt;/l&gt;</tt></font><br
                    class="">
                  <br class="">
                  Is it correct? Because Bibletime <a
                    href="https://github.com/bibletime/bibletime/issues/178"
                    class="" moz-do-not-send="true">doesn't display it</a>.<br
                    class="">
                  <br class="">
                </div>
                _______________________________________________<br
                  class="">
                sword-devel mailing list: <a
                  href="mailto:sword-devel@crosswire.org" class=""
                  moz-do-not-send="true">sword-devel@crosswire.org</a><br
                  class="">
                <a
                  href="http://www.crosswire.org/mailman/listinfo/sword-devel"
                  class="" moz-do-not-send="true">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>
      </blockquote>
      <div><br>
      </div>
      <div><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
    </blockquote>
    <br>
  </body>
</html>