On Nov 9, 2009, at 5:15 AM, <johndu...@cgcf.net> <johndu...@cgcf.net> wrote:

The osis validates fine when there are section headings in the middle of verses, as suggested below. And there are no errors reported when creating
a Sword module.

However, when converted into a Sword module, the section heading does not
display correctly in these cases, while it does in all other cases.

In Bible Desktop and BibleCS the heading is displayed as a heading and the
verse text as normal verse text, but both insert the heading and the
remaining text of the verse into the following verse. That is, instead of the section heading and second part of the verse text that follows it both remaining within their correct verse number (e.g. Acts 8:1), the heading and second part of the verse are inserted into the next verse (Acts 8:2). In
Acts 8, v1 is shorter and v2 is longer.

Earlier versions of osis2mod did not allow for titles to be within a verse. They pulled all of them out and put them at the top of the verse, either the current one or the next. I thought that was fixed in the most recent version of osis2mod.

Are you running the latest version of osis2mod? (What is the version number that it gives when you run it?)


On the other hand, Xiphos does not change the verse numbering as above. However, the second part of the verse (Acts 8:1) is displayed in the same
format as a header line also.

This occurs 94 times in An Bíobla Naofa, and amounts to 3.6% of all headings
(a few level 3 but the vast majority are level 1).

Should I live with it and not do anything about it?
Or should I edit the 94 occurrences and move the second part of the verse into the following verse while inserting the original verse numbering in parenthesis - either in a modified osis file (for module creation only) or
in the module?
Or wait for an update to Sword?



John Duffy

-----Original Message-----
From: DM Smith [mailto:dmsm...@crosswire.org]
Sent: 07 October 2009 21:42
To: johndu...@cgcf.net; SWORD Developers' Collaboration Forum
Cc: SWORD Developers' Collaboration Forum
Subject: Re: [sword-devel] Another query on OSIS format - can a section
heading be used within a verse?

There should be no problem.

In Him,
    DM



On Oct 7, 2009, at 4:37 PM, <johndu...@cgcf.net> wrote:

Hi,

I hesitate to say one last query before having an OSIS file to
validate. But
I hope it is.  (Another recent one is still out there regarding
suitability
of \dc ...\dc*)

In some of the sections of ABN (Irish Bible), headings appear in the
middle
of verses.  These can be minor \s3 or major \ms markers.  The OSIS
output
from Bibledit looks as below.  It displays well in Bibledit.  Is
this valid
use of sections in OSIS?  If not, I'll just have to do a workaround
and put
the \ms to the start of the verse. And possibly put the couple of \s3
markers affected in capitals within the verse instead of as a
heading before
the verse.

I appreciate all the input to help as I'm on a steep learning curve
on this.
Thanks.

John Duffy

USFM
\q1
\v 4 Agraím oraibh\q1 a mhná Iarúsailéim\q1 gan mo rún a
chorraí ná a
mhúscailt\q1 go dtograí sí féin.
\s3 Mná Iarúsailéim
\q1
\v 5 Cé hí seo aníos ón bhfásach \q1 ar ghualainn a grá? \s3
Eisean\q1 Faoin
gcrann úll a mhúscail mé thú;\q1 is ann a rug do mháthair thú,
\q1 is ann a
bhí do bhuime in íona.

OSIS
   <verse sID="Song.8.4" osisID="Song.8.4"/>
Agraím oraibh</p>
  <p>a mhná Iarúsailéim</p>
  <p>gan mo rún a chorraí ná a mhúscailt</p>
  <p>go dtograí sí féin. </p>
 </div>
 <div type="subSection" canonical="true">
  <title level="3">Mná Iarúsailéim</title>
  <p>
   <verse eID="Song.8.4"/>
   <verse sID="Song.8.5" osisID="Song.8.5"/>
Cé hí seo aníos ón bhfásach </p>
  <p>ar ghualainn a grá? </p>
 </div>
 <div type="subSection" canonical="true">
  <title level="3">Eisean</title>
  <p>Faoin gcrann úll a mhúscail mé thú;</p>
  <p>is ann a rug do mháthair thú,</p>
  <p>is ann a bhí do bhuime in íona. </p>
  <p>
   <verse eID="Song.8.5"/>


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to