0 votes
524 vues

I’m trying to print a diglot, but am ending up with orphan paragraphs. It seems like PTXprint is putting paragraphs side by side, rather than verses. In the example below the left project has a very long paragraph, whereas the right project has an additional paragraph marker, thus resulting in an orphan paragraph on the next page. Is there anything that can be done about it? (Other than changing the paratext file?)

PTXprint par (110 points) | 524 vues

5 Réponses

0 votes

This is the next page. I couldn’t put it into the original post, because new users cannot embed more than one file.

par (110 points)
0 votes

I believe it is pretty standard to have diglots balance at paragraph level. If a project is set up for verse style (each verse is a new paragraph - and this can be done in a change file) then each verse can match.

This is one consideration when choosing a diglot text - do the paragraphs match. If they are very different then it can raise questions for the reader as to why. The same would be true of other formats in the text like section heads, poetry, etc.

Another consideration (maybe more important) is how closely do the texts follow. Many of us who read English like to compare texts that differ (NASB / NLT for instance), but for many people seeing a text that differs significantly from a majority language text can be problematic and raise doubts as to the validity of the translation.

Generally I would advise teams that want/need to do diglot to use a text that matches or to adjust their text to match the diglot. This is obviously not a trivial matter since presumably the text has been formatted intentionally.

par (9,9k points)

Thanks for your input, those are things worth considering.
For now I was just thinking of making something for personal use. How would I go about in creating such a change file? Is it quick and easy? Would I need to do that in Paratext or in PTXprint? I assume I would need to do the same for both projects. What do you do when the second project is being printed from a DBL bundle? How can you set that one up for verse style as well?

One option is to use the Advanced > Apply Changes Specified (PrintDraftChanges.txt) and add lines like the following:
MAKE ALL NON-PARAGRAPH VERSES START WITH \m
The second to fifth lines must be modified to handle other paragraph markers that might proceed \v. This first puts a \m marker (you could change this to \p if desired) in front of every verse and then looks for a previous paragraph type marker and removes the extra \m.

+++++++++++++++++
“\\v” > “\\m \\v”
“\\p\s*\\m\s*\\v” > “\\p \\v”
“\\pi\s*\\m\s*\\v” > “\\pi \\v”
“\\q\s*\\m\s*\\v” > “\\q \\v”
“\\q1\s*\\m\s*\\v” > “\\q1 \\v”
“\\q2\s*\\m\s*\\v” > “\\q2 \\v”

0 votes

This looks like a bug in the (python) merging program. It seems to be matching paragraph breaks without paying attention to verse numbers. There used to be a perl version that was a bit too clever for its own good, (let alone sanity of anyone trying to debug it) but as long as it wasn’t breaking horribly, it coped with this sort of thing.

par (1,1k points)
0 votes

We just added a check button on the diglot page “Alternate Merging” which is designed to improve the alignment for really badly synced texts. Yes, the merging aligns paragraphs. Both merge strategies start by aligning paragraphs that start the same verse. The default strategy then tries to align paragraphs of the same type within the misaligned subruns. I.e. it’s document centric. The alternate merging just aligns the whole block against the other whole block. You’ll possibly get some interesting alignments but it’ll probably be closer to what you expect in your case.

par (656 points)
0 votes

Thank you very much for your help. The result looks much better.

par (110 points)

Questions connexes

0 votes
3 réponses 357 vues
How do I avoid orphan book titles when using the begin next book on last page of previous book option? I have tried a variety ... \mt style, but it doesn't seem to have an effect.
mlucas53 148 posée mars 21, 2023
0 votes
1 réponse 61 vues
We are typesetting a diglot project using PTXPrint, and the primary project has book introductions but the secondary ... full-width mode and back again? Or other suggestions?
marvinson 304 posée oct. 18, 2024
0 votes
2 réponses 319 vues
I'm trying to produce my first diglot printout in PTXprint. The line spacing on the secondary project always turns out ... something really basic, or am I experiencing a weird bug?
KimB 670 posée oct. 30, 2022
0 votes
1 réponse 87 vues
For recording I would like to hand out each reader their chapter(s) to read on separate pages, in such a way that ... I would find that very helpful! Thanks for any help! Roland
Roland 245 posée mars 10, 2025
0 votes
2 réponses 46 vues
Quelqu'un peut-il m'aider à configurer et à utiliser un diglotte ? J'ai téléchargé plusieurs ressources dans ... domaine public / notre propre rétro-traduction de projet ?
Jordan K 110 posée avr. 6
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
But if we walk in the light, as he is in the light, we have fellowship with one another, and the blood of Jesus, his Son, purifies us from all sin.
1 John 1:7
3,044 questions
6,003 réponses
5,671 commentaires
2,026 utilisateurs