[sword-devel] Release 1.5.8 and the NASB

DM Smith dmsmith555 at gmail.com
Mon Apr 4 18:37:23 MST 2005


According to the conf for NASB, the words of Christ can be in red. But I 
don't see it and I think I know why. I am not sure whether this is a 
problem with NASB or with 1.5.8. I think it is a module problem, but 
perhaps 1.5.8 should be made to accommodate.

Take Matthew 5.5. It is encoded:
<title subType="x-Section" subtype="x-preverse" type="section">Disciples 
and the World</title><milestone type="x-RS"/>“<w lemma="strong:G217">You 
are the salt</w> <w lemma="strong:G1093">of the earth</w>; but <note 
type="crossReference" osisID="Matt.5.13.xref.A" n="A"><reference 
osisRef="Mark.9.50">Mark 9:50</reference>; <reference 
osisRef="Luke.14.34">Luke 14:34f</reference></note><w 
lemma="strong:G1437">if</w> <w lemma="strong:G217">the salt</w> <w 
lemma="strong:G3471">has become</w> <w 
lemma="strong:G3471">tasteless</w>, <w lemma="strong:G1722 
strong:G5101">how</w> <note type="explanation" osisID="Matt.5.13.note.1" 
n="1">Lit <hi type="italic">will</hi></note><w lemma="strong:G233">can 
it be made</w> <w lemma="strong:G233">salty</w> <transChange 
type="added">again</transChange>? <w lemma="strong:G3762">It is no</w> 
<w lemma="strong:G2089">longer</w> <w lemma="strong:G2480">good</w> <w 
lemma="strong:G3762">for anything</w>, <w 
lemma="strong:G1508">except</w> <w lemma="strong:G906">to be thrown</w> 
<w lemma="strong:G2662">out and trampled</w> <w 
lemma="strong:G2662">under</w> <w lemma="strong:G2662">foot</w> <w 
lemma="strong:G444">by men</w>.<milestone type="x-RT"/><milestone 
type="line" subType="x-PM"/>

In this you will note the following:
1) Quotes are not tagged, but literal characters. If I remember 
correctly, OSIS 2.0 postulates that quotes should not be in the text, 
but in the markup. (I'm not trying to start the "How should quotes be 
encoded" flame wars again.)
2) While milestone-start and milestone-end were deprecated a while ago 
and have been removed from OSIS, the NASB has creatively gone around 
this: It is using the type attribute as a way of marking the start and 
the end of Red Letter text: type="x-RS" for the start and type="x-RT" 
for the end.

Also, unrelated to the Red Letter problem, the NASB uses <milestone 
type="line" subType="x-XX"/> for line breaks that should show up in the 
display of the text. According to OSIS milestone of type="line" are to 
represent line breaks in the original manuscript and should not be used 
to mark up poetry. It appears that is what is going on here. This can 
also be seen in the Psalms with a frequent subType of x-PO.

The reason I bring this up: Should Sword change to accommodate NASB? Or 
should NASB (possibly as it is encoded into a module) change?

Earlier today the NASB was provided as an example of how to encode OSIS. 
Does this still hold?

If the release of the NASB is tied to 1.5.8's release, I think this 
question should be answered.

BTW, if anyone knows how to write xslt to handle milestones like this to 
mark the beginning and ending of red letter text please let me know.


More information about the sword-devel mailing list