Are you using osis2mod from SVN? If not, then this may have been fixed already.<div><br clear="all">God Bless,<br>Ben<br>-------------------------------------------------------------------------------------------<br>Multitudes, multitudes,<br>
in the valley of decision!<br>For the day of the LORD is near<br> in the valley of decision.<br><br>Giôên 3:14 (ESV)<br><br>
<br><br><div class="gmail_quote">On Sun, Aug 16, 2009 at 4:00 PM, Greg Hellings <span dir="ltr"><<a href="mailto:greg.hellings@gmail.com">greg.hellings@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
OSIS fans and module gurus,<br>
<br>
I'm trying to follow the best practices of OSIS here, but things just<br>
seem a little out of whack - and it regards the mischevious<br>
inter-verse content. I have rendered the following OSIS snippet:<br>
<br>
<verse eID="Matt.1.25"/><br>
<chapter eID="Matt.1"/><br>
</div><br>
<div type="section" canonical="true"><br>
<title>Ang Pag-abot it mga Mainalamon nga mga Tawo</title><br>
<chapter osisID="Matt.2" sID="Matt.2"/><br>
<verse osisID="Matt.2.1" sID="Matt.2.1"/><br>
<br>
While this seems like the right way, conceptually, to do things in my<br>
opinion, the results are not what I want. The title text clearly is<br>
associated with Chapter 2, in both semantics and in the OSIS document<br>
itself. Title is a sibling of the <chapter osisID="Matt.2"> element,<br>
while being but a cousin of Matt.1's elements. When I display the<br>
text in a frontend, however, I find the text of that title at the end<br>
of chapter 1 instead of right before chapter 2.<br>
<br>
More frustrating, though, the following corresponding snippet, from<br>
the beginning of the book:<br>
<div type="book" canonical="true" osisID="Matt"><br>
<title type="main" short="Matt">Matt</title><br>
<div type="section" canonical="true"><br>
<title>Ang mga Ulang ni Jesu Kristo</title><br>
<chapter osisID="Matt.1" sID="Matt.1"/><br>
<verse osisID="Matt.1.1" sID="Matt.1.1"/><br>
renders exactly as I want it to. When I pull up Matthew 1, I get the<br>
section title, "Ang mga Ulang ni Jesu Kristo," right before verse 1.<br>
That's what I want to happen with identical code at the beginning of<br>
chapter 2, but it doesn't!<br>
<br>
I realize that calculating such relative relationships is possibly<br>
beyond the ken of osis2mod, but is there any better means I could use<br>
to associate that title with chapter 2? It's not a chapter title, so<br>
putting it inside of either chapter limits is clearly incorrect. I<br>
could possibly render it to be part of Matt.2.0, but it's not an<br>
introduction, and the section that it titles does not span the whole<br>
chapter and the title would not be displayed anyway, in most<br>
frontends.<br>
<br>
My own suggestion is that a <title> element should be associated with<br>
the object that it precedes - at least in the English speaking world<br>
I'm accustomed to seeing titles before their works. Whether or not it<br>
is actually *part of* that object is probably a case-by-case<br>
situation, and one best left up to the encoder. But, in the interim,<br>
what am I to do here?<br>
<br>
--Greg<br>
<br>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote></div><br></div>