sillsdev / ptx2pdf

XeTeX based macro package for typesetting USFM formatted (Paratext output) scripture files
23 stars 8 forks source link

Verses lost in diglot #996

Open AlTheDoc opened 1 month ago

AlTheDoc commented 1 month ago

While expermenting with a diglot using the Chapter Verse Merging Mode, I noticed that verses from the secondary text (smaller font, outside of page) were disappearing. This is quite frequent.

In the image below, on the left (primary) are verses 1 and 2. On the right, are verses 1 and 3.

Image

This is a section from the final SFM from the secondary showing that verses 1, 2 and 3 are present.

Image

An archive is attahed below.

Alastair

Syuba-October2024NNRVPTXprintArchive.zip

davidg-sil commented 2 weeks ago

Thanks for raising this! It is a problem with the merging code (written in python). You can see this in the 'final USFM' view: Image

I'm very glad to say that it's not the layout code (written in TeX), as that would potentially affect every diglot publication out there.