WycliffeAssociates / ScriptureRenderingPipeline

A rendering pipeline for scripture
MIT License
2 stars 0 forks source link

Issue rendering AYT Revelation 7 for BW Catalog #110

Open PurpleGuitar opened 5 months ago

PurpleGuitar commented 5 months ago

There seems to be an issue with how the SRP is generating the source.json for the BTT-Writer catalog.

id_ayt has the following source text in the WA-Catalog for the book of Revelation:

https://content.bibletranslationtools.org/WA-Catalog/id_ayt/src/branch/master/67-REV.usfm

Note that in chapter 7, starting just prior to verse 5, there is a table definition (\tr) in the source.

The rendered source.json file can be found here:

https://cdn.bibletranslationtools.org//bible/id/ayt/rev/source.json

Note that in chapter 7, the chunks starting with verse 5 are missing data:

{
  "frames": [
    {
      "format": "usx",
      "id": "07-1",
      "img": "",
      "lastvs": "3",
      "text": "<verse number=\"1\" style=\"v\" />\r\nSetelah itu, aku melihat empat malaikat berdiri di empat penjuru bumi, sedang menahan keempat angin bumi supaya tidak ada yang bertiup di darat, di laut, ataupun di pohon-pohon.\n<verse number=\"2\" style=\"v\" />\r\nKemudian, aku melihat malaikat lain muncul dari tempat terbitnya matahari, dengan membawa segel dari Allah yang hidup. Ia berseru dengan suara keras kepada keempat malaikat yang telah diberi kuasa untuk merusak bumi dan laut tadi,\n<verse number=\"3\" style=\"v\" />\r\n“Janganlah merusak bumi, laut, atau pohon-pohon sebelum kami selesai memberi tanda segel pada dahi hamba-hamba Allah kita.”\n<para style=\"p\">\r\n</para>\r\n"
    },
    {
      "format": "usx",
      "id": "07-4",
      "img": "",
      "lastvs": "6",
      "text": "<verse number=\"4\" style=\"v\" />\r\nAku mendengar jumlah mereka yang disegel sebanyak 144.000 orang. Mereka semua berasal dari setiap suku anak-anak Israel:*\n<para style=\"b\"/>\r\n<verse number=\"5\" style=\"v\" />\r\ndari suku Yehuda \n"
    },
    {
      "format": "usx",
      "id": "07-7",
      "img": "",
      "lastvs": "8",
      "text": ""
    },
    {
      "format": "usx",
      "id": "07-9",
      "img": "",
      "lastvs": "10",
      "text": ""
    },
    {
      "format": "usx",
      "id": "07-11",
      "img": "",
      "lastvs": "12",
      "text": ""
    },
    {
      "format": "usx",
      "id": "07-13",
      "img": "",
      "lastvs": "14",
      "text": ""
    },
    {
      "format": "usx",
      "id": "07-15",
      "img": "",
      "lastvs": "17",
      "text": ""
    }
  ],
  "number": "07",
  "ref": "",
  "title": ""
},

This seems to result in missing data in BTT-Writer:

ksnip_20240326-143444