[sword-devel] I implore you...

David Haslam dfhmch at googlemail.com
Sat Jun 15 00:46:57 MST 2013


That the speaker tag *\sp* was subject to a workaround when the ESV was
converted to OSIS
becomes even more apparent if we look at how usfm2osis.py now handles this
tag.

Here are the relevant lines of Python code:

        # \sp_text...
        osis = re.sub(r'\\sp\s+(.+)', r'<speaker>\1</speaker>', osis)

Not a trace of the title element here!
Even Chris's methodological use of \uFDD4  for titles is absent.

Hence the speaker identification is properly given its own OSIS element, and
not a title element.

The question for SWORD 1.7 is therefore, "Does the API support the OSIS
*speaker* element?"

I don't mind if the answer is "No", as long as we plan to support this
element in SWORD 1.8

The other points raised in my earlier replies today still stand.

David





--
View this message in context: http://sword-dev.350566.n4.nabble.com/I-implore-you-tp4652437p4652564.html
Sent from the SWORD Dev mailing list archive at Nabble.com.



More information about the sword-devel mailing list