On 02/29/2012 06:39 AM, Troy A. Griffitts wrote:
I don't know what's wrong except what I noted in the previous post:
that there is something wrong.
As I mentioned in my earlier reply, an OSIS file might have significant
content between verses. Osis2mod keeps all content between verses and
splits it between them. It is likely, that the text material is
non-canonical (the default for a div). (For OSIS canonical means part of
the published work, but in the case of Bibles, we take it to mean not
part of the biblical canon.)
However, between verses there is a lot of structural stuff. Such as
</chapter>, <div type="section">, .... and the rendering of this seems
to be causing problems (extra vertical white space). The content in the
pre-verse div is not all or nothing, which is what it appears the OSIS
headings filter is doing.
I want to clear up one thing that seems to be a general misunderstanding:
Module makers should never care or know about x-preverse.
They should make their module how they think best conforms to the OSIS
specification.
osis2mod will add the x-preverse div to the section it things should
be associated with a verse but display before the verse marker.
.... in a perfect world anyway. That's the goal, at least, and
depending on who's reverted whom's revert, it might work that way now.
On 02/29/2012 11:09 AM, David Haslam wrote:
Hi Troy,
I just tried wrapping the first "section title" for Matt.1.1 as follows:
<div type="section">
<div type="x-milestone" subType="x-preverse" sID="pv1"/>
<title>Lignez Jezuz</title>
<div type="x-milestone" subType="x-preverse" eID="pv1"/>
<verse sID="Matt.1.1" osisID="Matt.1.1"/>
Levr lignez Jezuz-Krist, Mab David, Mab Abraham.
<verse eID="Matt.1.1"/>
After rebuilding the module, the title "Lignez Jezuz" had disappeared
when
viewed with *Xiphos 3.1.5* (in Windows). In its place there seemed
to be an
extra space.
It was there before, albeit displayed after the verse tag.
So what's wrong?
cf. In *BibleDesktop 1.6*, the same title is still displayed, and still
after the verse tag and a line break.
The phrase "not yet supported" seems to be a considerable
understatement.
Regards,
David
--
View this message in context:
http://sword-dev.350566.n4.nabble.com/preverse-divs-tp4429131p4431114.html
Sent from the SWORD Dev mailing list archive at Nabble.com.
_______________________________________________
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