0 votes
256 vues

Hi,
I’m working on Urdu Persian text, while typesetting on some pages the text is not filling available space at the bottom. Please see the screenshot. Can someone please help me to solve the issue.
This issue may be similar to Unable to fill text until bottom margin · Issue #79 · sillsdev/ptx2pdf · GitHub

PTXprint par (241 points)
réaffiché | 256 vues

2 Réponses

0 votes

My best guess is that the problem is to do with balancing columns. (I.e. Making sure that there are the same number of lines on each side)
I believe that at the moment the code has a ‘balance at any cost’ as approach. Thus if you have 5 lines in the next paragraph as I think I see, the code cannot find a good place to break it. 5 lines means:
3 lines on one side 2 on the other (unbalanced, and so bad)
2lines on the next page 1 line in one side, 2 on the other (equally unbalanced)
3 lines on the next page, 1 line on each side. (May be allowed, but not if the 2nd column starts a new paragraph, as breaking a paragraph after just one line is usually a forbidden thing.)

If you pick a longish paragraph that is on the page and use the adjust list to make it one line longer, then that might solve the issue.
Alternatively you may want to allow “orphan” / “widow” paragraphs.

par (1,1k points)
0 votes
As DG states, the gap is because the macros are balancing the columns and also ensuring that there are no widows (1 line hanging on the previous page) or orphans (1 line of a paragraph on its own on the next page) and footnotes. To get perfect breaking one needs to go through and use the Adjlist to stretch and perhaps shrink paragraphs by a line here or there to make the macros happy and fill the page.

If you don't have time for that, the quick and dirty approach is to allow unbalanced columns in the layout page and to increase that to say 4 (the macros will try to minimise the amount of unbalance, but will not go above the number you specify)
par (656 points)

Questions connexes

0 votes
6 réponses 404 vues
PTXPrint laisse un espace blanc important en bas de certaines pages pour la configuration (Luc 1-9). L' ... blanc supplémentaire. Screenshot 2022-02-17 144651562 792 117 KB
listentwice 1,2k posée févr. 17, 2022
0 votes
2 réponses 202 vues
I'm trying to use have layout like this one. However, I'm getting like those I attached here 1702 69 11.5 KB ... . Any help from the community is highly appreciated. God bless you.
Waktola_Merdassa1 102 posée nov. 3, 2021
0 votes
1 réponse 135 vues
I will print a draft of Luke and I want my margins to be as narrow as possible. How narrow can they be (left, ... how do I restore my default margin settings? and what are they?
anon441204 250 posée mai 13, 2021
0 votes
4 réponses 349 vues
Comment définir la marge droite ? Le texte semble ne pas être retourné à la ligne. Il s’agit de japonais et utilise la fonction de texte Ruby. Je travaille avec PTX 9.1. Merci.
anon180868 195 posée déc. 29, 2020
0 votes
2 réponses 342 vues
The chapter numbers are not being place correctly in print draft outputs. PrintDraftCapture.PNG1158 901 276 KB Paratext 8 ... to avoid so as not to break chapter number placement?
Kent Spielmann 1,8k posée déc. 20, 2017
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For we were all baptized by one Spirit so as to form one body—whether Jews or Gentiles, slave or free—and we were all given the one Spirit to drink.
1 Corinthians 12:13
3,044 questions
6,003 réponses
5,671 commentaires
2,026 utilisateurs