Uploaded image for project: 'Module Tools'
  1. Module Tools
  2. MODTOOLS-48

usfm2osis.py does not process the tag \cd according to Appendix F in the OSIS Reference 2.1.1

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Upstream Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: usfm2osis.py
    • Labels:
      None

      Description

      Appendix F includes this USFM and OSIS equivalence row

      cd

      div[@type="book"]/div[@type="introduction" and preceeding-sibling::chapter]
      – e.g. make this an intro div which immediately follows a chapter milestone

      cd - Chapter - Description (introductory text descibing the chapter contents)

      Currently usfm2osis.py converts the \cd tag as follows: (example is Tongan)

      \cd 1 Ko e fakatupu ʻo e langi mo māmani, 3 ʻO e maama, 6 Mo e ata, 9 Mo e mavahe ʻo e fonua mei he ngaahi vai, 11 Mo e ngaohi ia ke fua, 14 ʻA e laʻā, mo e māhina, mo e ngaahi fetuʻu, 20 ʻA e ika, mo e fanga manupuna, 24 ʻA e fanga manu kehekehe, 26 Ko e tangata ʻi he tatau ʻo e ʻOtua. 29 Ko e tuʻutuʻuni foki ʻo e meʻakai.

      OSIS

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

        Attachments

          Activity

            People

            • Assignee:
              chrislit Chris Little
              Reporter:
              dfh David Haslam
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: