Rare column miscalculation?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 33
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
While typesetting this page in Psalms:
the right hand column is one line short. This happens frequently and can be fixed by expanding a suitable line (as in the left hand colunm) or by adding a blank line.
However, in this particular instance, none of these work and a blank line remains at the bottom of the column. Here is the changes,txt with the simplest add a blank line option:
Which produces:
You can see that the text has moved down a line but two lines of text have been pushed onto the next page quite uneccesarily.
I had this happen once when typesetting a whole NT and it only happened in pne place. No matter what I tried, a blank line would remain at the bottom of the column. I was able to fix that one by creating a unique paragraph style with different line spacing but that is not possible here with just single line \q1 or \q2.
It is as if somethiing is not quite being calculated correctly or there is a rounding error where PTXPrint 'thinks' that the column is longer than it really is.
Thanks
Alastair
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the layout from RAJ-PsalmsPTXprintArchive.zip and inspect changes.txt, comparing the affected right-hand column with the rendered pages shown. Trace the column-height calculation and determine why a blank line remains; done means the column fills correctly without unnecessarily moving two lines to the next page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tex
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100