You&#39;re absolutely right. Both mod2osis and then osis2mod get back roughly the same data... The problem therefore seems to be with JSword, unless i don&#39;t understand what linking should do... Here&#39;s my source:<div>
<br></div><div><div>&lt;div type=&quot;section&quot; annotateType=&quot;commentary&quot; annotateRef=&quot;Matt.1&quot;&gt; </div><div>    &lt;figure src=&quot;<a href="http://localhost/step-web/images/AlfordGT_40_Mat-0150.jpg">http://localhost/step-web/images/AlfordGT_40_Mat-0150.jpg</a>&quot; 
                                        alt=&quot;Matthew 1, Page 1&quot;&gt;&lt;caption&gt;Matthew 1, Page 1&lt;/caption&gt;
                                &lt;/figure&gt; </div><div>    &lt;figure src=&quot;<a href="http://localhost/step-web/images/AlfordGT_40_Mat-0151.jpg">http://localhost/step-web/images/AlfordGT_40_Mat-0151.jpg</a>&quot; 
                                        alt=&quot;Matthew 1, Page 1&quot;&gt;&lt;caption&gt;Matthew 1, Page 1&lt;/caption&gt;&lt;/figure&gt; </div><div>[...]</div><div>&lt;/div&gt;</div><div><br></div><div>the mod2osis command gives me the above (approx, where&#39;s it has got rid of the hierarchy and put some sId and eId, presumably for start and end of the divs). However, when reading it through JSword,  I get each individual verse:</div>
<div><br></div><div><div>  &lt;verse osisID=&quot;Matt.1.1&quot;&gt;</div><div>    &lt;div sID=&quot;gen1&quot; type=&quot;x-testament&quot; /&gt;</div><div>    &lt;div osisID=&quot;Matt&quot; sID=&quot;gen2&quot; type=&quot;book&quot; /&gt;</div>
<div>    &lt;div annotateRef=&quot;Matt.1&quot; annotateType=&quot;commentary&quot; sID=&quot;gen3&quot; type=&quot;section&quot; /&gt;</div><div>    &lt;figure alt=&quot;Matthew 1, Page 1&quot; src=&quot;<a href="http://localhost/step-web/images/AlfordGT_40_Mat-0150.jpg">http://localhost/step-web/images/AlfordGT_40_Mat-0150.jpg</a>&quot;&gt;</div>
<div>      &lt;caption&gt;Matthew 1, Page 1&lt;/caption&gt;</div><div>    &lt;/figure&gt;</div><div>    &lt;figure alt=&quot;Matthew 1, Page 1&quot; src=&quot;<a href="http://localhost/step-web/images/AlfordGT_40_Mat-0151.jpg">http://localhost/step-web/images/AlfordGT_40_Mat-0151.jpg</a>&quot;&gt;</div>
<div>      &lt;caption&gt;Matthew 1, Page 1&lt;/caption&gt;</div><div>    &lt;/figure&gt;</div><div>    &lt;div annotateRef=&quot;Matt.1&quot; annotateType=&quot;commentary&quot; eID=&quot;gen3&quot; type=&quot;section&quot; /&gt;</div>
<div>    &lt;div eID=&quot;gen2&quot; osisID=&quot;Matt&quot; type=&quot;book&quot; /&gt;</div><div>    &lt;div eID=&quot;gen1&quot; type=&quot;x-testament&quot; /&gt;</div><div>  &lt;/verse&gt;</div><div>  &lt;verse osisID=&quot;Matt.1.2&quot;&gt;</div>
<div>    &lt;div sID=&quot;gen1&quot; type=&quot;x-testament&quot; /&gt;</div><div>    &lt;div osisID=&quot;Matt&quot; sID=&quot;gen2&quot; type=&quot;book&quot; /&gt;</div><div>    &lt;div annotateRef=&quot;Matt.1&quot; annotateType=&quot;commentary&quot; sID=&quot;gen3&quot; type=&quot;section&quot; /&gt;</div>
<div>    &lt;figure alt=&quot;Matthew 1, Page 1&quot; src=&quot;<a href="http://localhost/step-web/images/AlfordGT_40_Mat-0150.jpg">http://localhost/step-web/images/AlfordGT_40_Mat-0150.jpg</a>&quot;&gt;</div><div>      &lt;caption&gt;Matthew 1, Page 1&lt;/caption&gt;</div>
<div>    &lt;/figure&gt;</div><div>    &lt;figure alt=&quot;Matthew 1, Page 1&quot; src=&quot;<a href="http://localhost/step-web/images/AlfordGT_40_Mat-0151.jpg">http://localhost/step-web/images/AlfordGT_40_Mat-0151.jpg</a>&quot;&gt;</div>
<div>      &lt;caption&gt;Matthew 1, Page 1&lt;/caption&gt;</div><div>    &lt;/figure&gt;</div><div>    &lt;div annotateRef=&quot;Matt.1&quot; annotateType=&quot;commentary&quot; eID=&quot;gen3&quot; type=&quot;section&quot; /&gt;</div>
<div>    &lt;div eID=&quot;gen2&quot; osisID=&quot;Matt&quot; type=&quot;book&quot; /&gt;</div><div>    &lt;div eID=&quot;gen1&quot; type=&quot;x-testament&quot; /&gt;</div><div>  &lt;/verse&gt;</div><div><br></div><div><br>
</div><div>Chris</div><div><br></div><div><br><br><div class="gmail_quote">On 23 October 2012 20:49, Brian J Dumont <span dir="ltr">&lt;<a href="mailto:brian.j.dumont@gmail.com" target="_blank">brian.j.dumont@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>It should not be doing that.  When you
      run osis2mod, you should see something like <br>
      Gen.1.2 linked to Gen.1.1<br>
      Gen.1.3 linked to Gen.1.1<br>
      Gen.1.4 linked to Gen.1.1<br>
      etc.<br>
      <br>
      They should all be handled internally by links not copies.  Also,
      front-ends should be smart enough to understand links, so when you
      have &quot;commentary by chapter&quot; selected, you should only see this
      content once.<br>
      <br>
      my build script for this module is very simple:<br>
      xmllint --noout --schema
      <a href="http://www.bibletechnologies.net/osisCore.2.1.1.xsd" target="_blank">http://www.bibletechnologies.net/osisCore.2.1.1.xsd</a> art.osis<br>
      osis2mod mod/ art.osis<span class="HOEnZb"><font color="#888888"><br>
      <br>
      Brian</font></span><div><div class="h5"><br>
      <br>
      On 10/23/2012 03:38 PM, Chris Burrell wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">Thanks Brian. I see you used the following fragment:
      <div><br>
      </div>
      <div>&lt;div type=&quot;section&quot; annotateType=&quot;commentary&quot;
        annotateRef=&quot;Gen.1.1-Gen.1.5&quot;&gt;</div>
      <div><br>
      </div>
      <div>Unfortunately, what that seems to do is make 5 verses
        (Gen.1.1, Gen.1.2, etc.) and copies all the content into it.
        Unless I&#39;m misunderstanding something? </div>
      <div><br>
      </div>
      <div>Did you use osis2mod? or another tool to create your module
        from the source you sent me?</div>
      <div><br>
      </div>
      <div>Chris</div>
      <div><br>
        <br>
        <div class="gmail_quote">On 23 October 2012 20:15, Brian J
          Dumont <span dir="ltr">&lt;<a href="mailto:brian.j.dumont@gmail.com" target="_blank">brian.j.dumont@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>Hi Chris,<br>
                <br>
                This is the source for BibleArtBW, which is also an OSIS
                commentary containing images<br>
                <br>
                Hopefully you may find it useful,<br>
                Brian
                <div>
                  <div><br>
                    <br>
                    <br>
                    On 10/23/2012 03:10 PM, Chris Burrell wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div>
                  <blockquote type="cite">
                    <p>Hi DM</p>
                    <p>I have a collection of images tagged by chapter
                      and there can be more than one image per chapter.
                      each image is a page from a commentary. are there
                      perhaps other tools to create such modules?</p>
                    <p>Chris</p>
                    <div class="gmail_quote">On Oct 23, 2012 7:17 PM,
                      &quot;DM Smith&quot; &lt;<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>&gt;
                      wrote:<br type="attribution">
                      <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> osis2mod is for Bible&#39;s
                        and commentaries that are verse by verse. It
                        does not work with all forms of osis input.<br>
                        <br>
                        What kind of module are you trying to build?<br>
                        <br>
                        In Him,<br>
                                DM<br>
                        <br>
                        On Oct 23, 2012, at 1:59 PM, Chris Burrell &lt;<a href="mailto:chris@burrell.me.uk" target="_blank">chris@burrell.me.uk</a>&gt;
                        wrote:<br>
                        <br>
                        &gt; Hi<br>
                        &gt;<br>
                        &gt; I&#39;m attempting to write my first OSIS
                        module. I&#39;ve got it all zipping up, etc. However
                        there is no content. I have a chapter block with
                        a list of figures inside.<br>
                        &gt;<br>
                        &gt; According to the OSIS manual that is
                        acceptable:<br>
                        &gt; 7.6.1. Elements allowed in chapter elements<br>
                        &gt;<br>
                        &gt; However, when I reverse the process with
                        mod2osis, I see that there is no content, my
                        list of figures in each chapter are absent, and
                        I have no chapters either...<br>
                        &gt;<br>
                        &gt; Any ideas what might be happening and what
                        I&#39;m doing wrong?<br>
                        &gt; Chris<br>
                        &gt;<br>
                        &gt;
                        _______________________________________________<br>
                        &gt; jsword-devel mailing list<br>
                        &gt; <a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br>
                        &gt; <a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
                        <br>
                      </blockquote>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
jsword-devel mailing list
<a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a>
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a>
</pre>
                  </blockquote>
                  <br>
                  <br>
                </div>
              </div>
              <span><font color="#888888">
                  <pre cols="72">-- 
-----------------------------------------------------------------------
The opposite of fear is not courage; the opposite of fear is Faith. The 
devil has Fear Alone; we have Faith Alone – Christ Alone.  Fear looks 
inward, and finds nothing. Faith looks outside itself to Jesus the 
Crucified, and finds everything.  - Todd Wilken
</pre>
                </font></span></div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <br>
    <pre cols="72">-- 
-----------------------------------------------------------------------
The opposite of fear is not courage; the opposite of fear is Faith. The 
devil has Fear Alone; we have Faith Alone – Christ Alone.  Fear looks 
inward, and finds nothing. Faith looks outside itself to Jesus the 
Crucified, and finds everything.  - Todd Wilken
</pre>
  </div></div></div>

</blockquote></div><br></div></div></div>