0 votes
224 views

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 by (241 points)
reshown | 224 views

2 Answers

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.

by (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)
by (656 points)

Related questions

0 votes
6 answers 348 views
PtxPrint is leaving significant white at the bottom of some pages for the config (Luke1-9). User is needing to ... extra white space. Screenshot 2022-02-17 144651562 792 117 KB
listentwice 1.2k asked Feb 17, 2022
0 votes
2 answers 183 views
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 asked Nov 3, 2021
0 votes
1 answer 118 views
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 asked May 13, 2021
0 votes
4 answers 307 views
How do I set the right margin? The text appears to not be wrapping. It is Japanese and is using the Ruby text feature. I’m working in PTX 9.1. Thank you.
anon180868 195 asked Dec 29, 2020
0 votes
1 answer 185 views
Possibly this is properly a question for the typesetting group, but ... I wonder if it might look better if the captions ... ' opinions, if you have time to opine. :) Thanks!
KimB 670 asked Jul 2, 2024
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
If anyone destroys God’s temple, God will destroy that person; for God’s temple is sacred, and you together are that temple.
1 Corinthians 3:17
3,037 questions
5,994 answers
5,661 comments
2,022 users