On May 15, 2006, at 2:58 PM, L.Allan-pbio wrote:
The NET has <l /> for poetic line breaks but there isn't an
allowance for a space if this isn't turned into a poetic line break
(see Ps 23 for examples)
The <l>...</l> indicates whitespace. So this is appropriate.
<hi type="italic">A psalm of David.</hi><milestone type="line" /
>The <hi type="small-caps">Lord</hi> is my shepherd,<l />I lack
nothing.<l />
He takes me to lush pastures,<l />he leads me to refreshing
water.<l />
He restores my strength.<l />He leads me down the right paths<l /
>for the sake of his reputation.<l />
Even when I must walk through the darkest valley,<l />I fear no
danger,<l />for you are with me;<l />your rod and your staff
reassure me. <l />
You prepare a feast before me <l />in plain sight of my enemies.<l /
>You refresh my head with oil;<l />my cup is completely full. <l />
Surely your goodness and faithfulness will pursue me all my days,
<l />and I will live in the <hi type="small-caps">Lord</hi>'s house
for the rest of my life. <l /> </div>
This example is not valid OSIS. A <l> element can only be a child of
an <lg> element and the <lg> element does not allow for "mixed"
content. That is, in this example,
The Lord is my shepherd should be in a <l>. (and "He take me to lush
pastures," and "He restores my strength", ...)
The other problem is that the example ends in a </div> but there is
no corresponding <div>.
With sword.exe 1.5.8 rc1 and NET 0.9.3 (using mod2vpl), there are
missing spaces.
The handling of <l> is difficult, as the pair of </l><l> indicates a
line break.
Since <l> is an element of a <lg> the first <l> does not indicate a
line break and neither does the last </l>.
So it is the near adjacency of </l> and <l> that does (there are a
few things that can be between a line end and a line begin.)
If Sword 1.5.8 does not handle this paring correctly I think it is a
bug.
In this case, I think that it would be prudent for a renderer to add
a space at the end of each line, as it would be visible only under
the most rare conditions.
A psalm of David.
The Lord is my shepherd,I lack nothing.
He takes me to lush pastures,he leads me to refreshing water.
He restores my strength.He leads me down the right pathsfor the
sake of his reputation.
Even when I must walk through the darkest valley,I fear no
danger,for you are with me;your rod and your staff reassure me.
You prepare a feast before me in plain sight of my enemies.You
refresh my head with oil;my cup is completely full.
Surely your goodness and faithfulness will pursue me all my days,
and I will live in the Lord's house for the rest of my life.
Also, the NET uses the following as sort of a paragraph grouping
convention:
<milestone type="line" /><milestone type="line" />
<milestone type="line" /> <milestone type="line" />
<milestone type="line"/><milestone type="line"/>
_______________________________________________
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