<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi John,</p>
    <p>Do you have an example?  Our parser handles some pretty crazy
      verse references.  You can give it a try here:</p>
    <p><br>
    </p>
    <p><a class="moz-txt-link-freetext" href="http://crosswire.org/study/examples/parsevs.jsp">http://crosswire.org/study/examples/parsevs.jsp</a></p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 11/15/18 10:35 AM, Dudeck, John
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:5BEDAE5D.2625.88E9BC6@john.dudeck.sim.org">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <title></title>
      <meta http-equiv="Content-Style-Type" content="text/css">
      <div align="left"><font size="2" face="Arial"><span style="
            font-size:10pt">The main problem with commentaries is
            getting the annotateRef attribute right without manual
            intervention. Logos supports nested levels of reference, eg.
            book-level, chapter-level, verse-level, and verse ranges
            (that can span mutiple chapters). As far as I can tell,
            osis2mod gets terribly confused with nested ranges.</span></font></div>
      <div align="left"><font size="2" face="Arial"><span style="
            font-size:10pt"><br>
          </span></font></div>
      <div align="left"><font size="2" face="Arial"><span style="
            font-size:10pt">Generally speaking, black box converters are
            pretty much a lost cause. I have used a .conf file approach
            where variable stuff can be configured, for example how to
            map class and style attributes to the limited rendering
            capabilities of Sword. And I have separate scripts for
            genbooks, bibles, commentaries, and dictionaries/lexicons.</span></font></div>
      <div align="left"><font size="2" face="Arial"><span style="
            font-size:10pt"><br>
          </span></font></div>
      <div align="left"><font size="2" face="Arial"><span style="
            font-size:10pt">John</span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt"><br>
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; Any time your list of
            exceptional conditions contains more text than the
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; conversion itself, you have to
            start questioning whether 'automation' is
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; even possible. </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt;
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; I spent time developing similar
            scripts (something like wordxml -&gt;
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; USFM) for single use cases. 
            Doing the conversion was usually about
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; 10 steps, but  then dealing
            with the exceptions (both before and after
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; the conversion) took 100+
            steps. Without automation, the 10 steps
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; was good enough. but not
            keeping a human involved, all the human
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; decisions had to be mapped. </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt;
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt;
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt;
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt;
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; On Thu, Nov 15, 2018 at 10:39
            AM Greg Hellings <a class="moz-txt-link-rfc2396E" href="mailto:greg.hellings@gmail.com">&lt;greg.hellings@gmail.com&gt;</a> wrote:</span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt;
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt;
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; On Thu, Nov 15, 2018 at 10:35
            AM Dudeck, John <a class="moz-txt-link-rfc2396E" href="mailto:John.Dudeck@sim.org">&lt;John.Dudeck@sim.org&gt;</a> wrote:</span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; I am developing a set of Perl
            scripts that convert Logos XML to OSIS for
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; commentaries. It has proven to
            be a non-trivial exercise.</span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt;
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; I undertook a similar exercise
            over a decade ago as part of an internship. It was a beast
            of
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; a task and one that was never
            fully completed.</span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt;
          </span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; --Greg</span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt;
            _______________________________________________</span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; sword-devel mailing list:
            <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a></span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt;
            <a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a></span></font></div>
      <div align="left"><font size="2" face="Arial" color="#7f0000"><span
            style=" font-size:10pt">&gt; Instructions to
            unsubscribe/change your settings at above page</span></font></div>
      <div align="left"><font size="2" face="Arial"><span style="
            font-size:10pt"><br>
          </span></font></div>
      <div align="left"><font size="2" face="Arial"><span style="
            font-size:10pt">John Dudeck</span></font></div>
      <div align="left"><font size="2" face="Arial"><span style="
            font-size:10pt">Programmer at Editions
            Cle                             Lyon, France</span></font></div>
      <div align="left"><font size="2" face="Arial"><span style="
            font-size:10pt"><a class="moz-txt-link-abbreviated" href="mailto:john.dudeck@sim.org">john.dudeck@sim.org</a>                           
            <a class="moz-txt-link-abbreviated" href="mailto:john@editionscle.com">john@editionscle.com</a></span></font></div>
      <div align="left"><font size="2" face="Arial"><span style="
            font-size:10pt">--</span></font></div>
      <div align="left"><font size="2" face="Arial"><span style="
            font-size:10pt">"Hmm, doubtful. The source code generally
            wasn't there when I needed it."</span></font></div>
      <div align="left"><font size="2" face="Arial"><span style="
            font-size:10pt"> -- Larry Wall when asked if he learned Perl
            from the perl source</span></font></div>
      <div align="left">  </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>
  </body>
</html>