martijnlentink / propresenter-custom-bibles

Tutorial to import custom Bibles in ProPresenter
34 stars 13 forks source link

Duplicate verse numbers #20

Closed Joehoel closed 6 months ago

Joehoel commented 6 months ago

Originally the code will put the actual verse number as text content in the generated usx files. For example given the following text:

[1] In het begin schiep God de hemel en de aarde. [2] De aarde was nog woest en doods, en duisternis lag over de oervloed, maar Gods geest zweefde over het water.

The actual output would be:

[1] 1 In het begin schiep God de hemel en de aarde. [2] 2 De aarde was nog woest en doods, en duisternis lag over de oervloed, maar Gods geest zweefde over het water.

Notice the duplicate verse numbers. This tiny code modification fixes it.

martijnlentink commented 6 months ago

Great! Thanks for your contribution. That code was a bit outdated indeed, I've put my time mainly in the Bible.com script. I trust that you have tested the code and that it'll work as expected ☺️.