[sword-devel] Headings, titles and chapter descriptions

David Haslam dfhmch at googlemail.com
Sat May 27 09:34:21 MST 2017


Thanks Troy,

Just so you all know, it's the content of the following USFM tag.

\cd text

What the Python script *usfm2osis.py* does is to convert this to: 

<title type="x-description">1 Ko e fakatupu ʻoe langi mo māmani, 3 ʻOe
maama, 6 Mo e ʻatā, 9 Mo e mavahe ʻoe fonua mei he ngaahi vai, 11 Mo e
ngaohi ia ke fua, 14 ʻAe laʻā, mo e māhina, mo e ngaahi fetuʻu, 20 ʻAe ika,
mo e fanga manupuna, 24 ʻAe fanga manu kehekehe, 26 Ko e tangata ʻi he tatau
ʻoe ʻOtua. 29 Ko e tuʻutuʻuni foki ʻoe meʻakai.</title>

(this example is from the Genesis 1 in the *Tongan RWV* module)

As this is a standard feature of ParaTExt/Bibledit produced USFM files, it
should not be up to the individual module submitter to provide a special CSS
file for rendering these elements suitably/correctly.

We need to distinguish these items from ordinary title elements.

As things stand, the type attribute is simply ignored, especially with it
being a user-defined one with the x-prefix.

Best regards,

David



--
View this message in context: http://sword-dev.350566.n4.nabble.com/Headings-titles-and-chapter-descriptions-tp4657204p4657266.html
Sent from the SWORD Dev mailing list archive at Nabble.com.



More information about the sword-devel mailing list