<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thank You for very detailed explanation. Now I
understand that without major redesign of verse handling such a thing won't be
available. I don't know about the details, so right now <U>I have to believe</U>
what Troy have said about the future support of alternative
versifications.</FONT></DIV>
<DIV><FONT face=Arial size=2>As for milestoned verses I'll take a close look at
my Bible module (not the test one) and see if it is really possible (the problem
might be with lines & linegroups), and correct the module - one or two smart
regexes might solve this problem :-)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank You again,</FONT></DIV>
<DIV><FONT face=Arial size=2>Christopher.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=dmsmith555@gmail.com href="mailto:dmsmith555@gmail.com">DM Smith</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=sword-devel@crosswire.org
href="mailto:sword-devel@crosswire.org">SWORD Developers' Collaboration
Forum</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, April 15, 2005 11:35
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [sword-devel] Verses not in
sequential order - front-end problem</DIV>
<DIV><BR></DIV>Christopher, <BR><BR>This is not a problem with BibleCS or
BibleDesktop. It is the fundamental nature of how a module is constructed. For
each module there is an index of the start and length of each verse. The index
does not contain any reference to the verse. The program maintains a lookup
table that given a verse, it constructs a lookup integer for the module's
index. In the module the verses may be in any order (as long as the verses
belonging to a "block" are in the block). The index sorts them out.
<BR><BR>BibleDesktop gets the verses one at a time and assembles them in the
"right" order. <BR><BR>You might figure that you can adjust the index to
reflect the order that you desire, but it won't work as the module does <B
class=moz-txt-star><SPAN class=moz-txt-tag>*</SPAN>not<SPAN
class=moz-txt-tag>*</SPAN></B> (for the vast majority of the cases, I think
that WLC is the only exception so far) have the verse reference with the
verse. If you store index Mat 17.3 in the Mat 17.6 slot, then a lookup for Mat
17.6 in BibleDesktop will get the text for Mat 17.3 and label it Mat 17.6. If
all of Matt 17 is shown in BibleDesktop, the verses will display in the order
you want, but the verse numbers will be wrong (unless they are stored as part
of the verse in the module. <BR><BR>I took a look at your example and I don't
know if it matters, but it has been posted here that using milestones for
verses is a bad thing. As far as the sword module is concerned, each verse is
a container. If you need milestones, I suggest that you pick verses as a
container and use milestones for the other elements. Better yet, avoid them if
you can. It will be a long while before a verse based system can handle them
well. (When getting and rendering a single verse that contains a milestone,
there is not much that can be done, if both the start and end milestone are
not in the same verse.) And even if we had both the start and the end, it adds
huge complexity to xslt to handle state changes (i.e. modes are a pain!)
<BR><BR>Hope this helps, <BR> DM <BR><BR>Krzysztof Bialas wrote:
<BLOCKQUOTE cite=mid001201c541f2$6bfc8710$7201a8c0@ctm.gdynia.pl
type="cite"> Hi! <BR>I've already investigated the problem on
the osis-user group. The problem is <BR>with the Biblie text in which there
are places where the verses are not in <BR>sequential order. The text looks
like this: <BR>Matt.17.1 <BR>Matt.17.2 <BR>Matt.17.4 <BR>Matt.17.6
<BR>Matt.17.5 <BR>Matt.17.3 <BR>Matt.17.7 <BR>/this is of course the
example, Matt is ok :-)/ <BR>After osis2mod conversion the verses order is
preserved. In BibleCS and <BR>BibleDesktop front-ends the verses are
displayed back in the 'wrong' <BR>sequential order. Is there a way to encode
module in OSIS for sword so the <BR>not-sequential verses order would be
preserved? <BR><BR>Christopher <BR>P.S. I've updated the sample file <A
class=moz-txt-link-freetext
href="http://panda.bg.univ.gda.pl/~krzbia/test.osis.xml">http://panda.bg.univ.gda.pl/~krzbia/test.osis.xml</A>
to show this problem (Matt.17)
<BR><BR>_______________________________________________ <BR>sword-devel
mailing list: <A class=moz-txt-link-abbreviated
href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</A> <BR><A
class=moz-txt-link-freetext
href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</A>
<BR>Instructions to unsubscribe/change your settings at above page
<BR><BR></BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>sword-devel mailing
list:
sword-devel@crosswire.org<BR>http://www.crosswire.org/mailman/listinfo/sword-devel<BR>Instructions
to unsubscribe/change your settings at above page</BLOCKQUOTE></BODY></HTML>