You'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't understand what linking should do... Here's my source:<div>
<br></div><div><div><div type="section" annotateType="commentary" annotateRef="Matt.1"> </div><div> <figure src="<a href="http://localhost/step-web/images/AlfordGT_40_Mat-0150.jpg">http://localhost/step-web/images/AlfordGT_40_Mat-0150.jpg</a>"
                                        alt="Matthew 1, Page 1"><caption>Matthew 1, Page 1</caption>
                                </figure> </div><div> <figure src="<a href="http://localhost/step-web/images/AlfordGT_40_Mat-0151.jpg">http://localhost/step-web/images/AlfordGT_40_Mat-0151.jpg</a>"
                                        alt="Matthew 1, Page 1"><caption>Matthew 1, Page 1</caption></figure> </div><div>[...]</div><div></div></div><div><br></div><div>the mod2osis command gives me the above (approx, where'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> <verse osisID="Matt.1.1"></div><div> <div sID="gen1" type="x-testament" /></div><div> <div osisID="Matt" sID="gen2" type="book" /></div>
<div> <div annotateRef="Matt.1" annotateType="commentary" sID="gen3" type="section" /></div><div> <figure alt="Matthew 1, Page 1" src="<a href="http://localhost/step-web/images/AlfordGT_40_Mat-0150.jpg">http://localhost/step-web/images/AlfordGT_40_Mat-0150.jpg</a>"></div>
<div> <caption>Matthew 1, Page 1</caption></div><div> </figure></div><div> <figure alt="Matthew 1, Page 1" src="<a href="http://localhost/step-web/images/AlfordGT_40_Mat-0151.jpg">http://localhost/step-web/images/AlfordGT_40_Mat-0151.jpg</a>"></div>
<div> <caption>Matthew 1, Page 1</caption></div><div> </figure></div><div> <div annotateRef="Matt.1" annotateType="commentary" eID="gen3" type="section" /></div>
<div> <div eID="gen2" osisID="Matt" type="book" /></div><div> <div eID="gen1" type="x-testament" /></div><div> </verse></div><div> <verse osisID="Matt.1.2"></div>
<div> <div sID="gen1" type="x-testament" /></div><div> <div osisID="Matt" sID="gen2" type="book" /></div><div> <div annotateRef="Matt.1" annotateType="commentary" sID="gen3" type="section" /></div>
<div> <figure alt="Matthew 1, Page 1" src="<a href="http://localhost/step-web/images/AlfordGT_40_Mat-0150.jpg">http://localhost/step-web/images/AlfordGT_40_Mat-0150.jpg</a>"></div><div> <caption>Matthew 1, Page 1</caption></div>
<div> </figure></div><div> <figure alt="Matthew 1, Page 1" src="<a href="http://localhost/step-web/images/AlfordGT_40_Mat-0151.jpg">http://localhost/step-web/images/AlfordGT_40_Mat-0151.jpg</a>"></div>
<div> <caption>Matthew 1, Page 1</caption></div><div> </figure></div><div> <div annotateRef="Matt.1" annotateType="commentary" eID="gen3" type="section" /></div>
<div> <div eID="gen2" osisID="Matt" type="book" /></div><div> <div eID="gen1" type="x-testament" /></div><div> </verse></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"><<a href="mailto:brian.j.dumont@gmail.com" target="_blank">brian.j.dumont@gmail.com</a>></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 "commentary by chapter" 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><div type="section" annotateType="commentary"
annotateRef="Gen.1.1-Gen.1.5"></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'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"><<a href="mailto:brian.j.dumont@gmail.com" target="_blank">brian.j.dumont@gmail.com</a>></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,
"DM Smith" <<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>>
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'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 <<a href="mailto:chris@burrell.me.uk" target="_blank">chris@burrell.me.uk</a>>
wrote:<br>
<br>
> Hi<br>
><br>
> I'm attempting to write my first OSIS
module. I've got it all zipping up, etc. However
there is no content. I have a chapter block with
a list of figures inside.<br>
><br>
> According to the OSIS manual that is
acceptable:<br>
> 7.6.1. Elements allowed in chapter elements<br>
><br>
> 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>
><br>
> Any ideas what might be happening and what
I'm doing wrong?<br>
> Chris<br>
><br>
>
_______________________________________________<br>
> jsword-devel mailing list<br>
> <a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br>
> <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>