[sword-devel] Section headings in USFM in the book of Psalms

David Haslam dfhmch at googlemail.com
Fri Mar 11 03:26:18 MST 2016


When USFM is converted to OSIS, section headings are converted to div
elements.

In most books of the Bible, this works out fine, even when the div element
spans across chapter ends.

That's usually what the translator intended (even though he/she wasn't
consciously thinking in terms of XML). 

In the book of Psalms though, the fact that one Psalm might have a section
heading, doesn't imply that all subsequent Psalms (before any further
heading, if any) should be part of the same div element.

It would usually make sense to manually adjust the location of the div end
element, so that only the one Psalm with the section heading is enclosed
therein.

I say "manually", as I can't think of a sensible way in which this exception
to OSIS conversion rules might be automated, except perhaps by some extra
command line option.

btw. There may be the odd location, such as the pair of consecutive Psalms
that form a single acrostic poem, where the div element might sensibly span
two Psalms. 

NB. This is about section headings converted from the \s# marker,
not the canonical titles converted from the \d marker.

Best regards,

David





--
View this message in context: http://sword-dev.350566.n4.nabble.com/Section-headings-in-USFM-in-the-book-of-Psalms-tp4656201.html
Sent from the SWORD Dev mailing list archive at Nabble.com.



More information about the sword-devel mailing list