-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
\par creates space in the wrong location #1647
Comments
Running with So far so good, when Note: all vboxes are dumped in the debug, but afterwards the method skips top glues for the purpose of measuring the vertical content and finding an appropriate break. That's quite correct in my opinion (see further below). One may appreciate, though, the fanciness of that piece of art (absence of comments, going back and forth in indexes, complex restart logic which I hope is not used at all -- erm, seems commented out indeed elsewhere, pfeww). But then... "ouputting" is the last debug from From "OUTPUTTING", we now are in Short recap conclusion:
|
Thanks for taking the time to analyze this! :)
I don't really mind waiting, I know people are busy and the bug is not a blocker for me.
To me, the project looks like it evolved historically and that always comes with non-optimal code. That is often even required for some time to explore the desired direction and goals of the project / algorithms. |
Looking closely, this test expection had an extra parskip at the bottom of the first page, exactly the same symptom as sile-typesetter#1647.
Looking closely, this test expection had an extra parskip at the bottom of the first page, exactly the same symptom as sile-typesetter#1647.
It's harder to say how it relates to sile-typesetter#1647, but checking with -d all, this test showed a small vertical space at the bottom of page 3, meaning the content frame was not stretched as much as expected. It seems to be some lineskip. Now the text seems fully stretched within the content frame.
Looking closely, this test expection had an extra parskip at the bottom of the first page, exactly the same symptom as sile-typesetter#1647.
It's harder to say how it relates to sile-typesetter#1647, but checking with -d all, this test showed a small vertical space at the bottom of page 3, meaning the content frame was not stretched as much as expected. It seems to be some lineskip. Now the text seems fully stretched within the content frame.
The changes from sile-typesetter#1647 impact this test on page 3 (last line is slightly lower), this doesn't seem worse though the test is hard to check.
In this document:
(papersize a9 is just to create small screenshots)
The first
![image](https://user-images.githubusercontent.com/15750438/205982289-caf3e4ff-8637-4f0e-a9fe-3e654c316e7f.png)
\par
creates a space on the bottom of the page, lifting the "bottom text" from the bottom of the content frame:Adding a
![image](https://user-images.githubusercontent.com/15750438/205982673-f013eb7c-2009-4fd4-83ba-2af3660fc1db.png)
\hbox
at the beginning of the document or removing the first\par
yields the correct result with the bottom text aligned to the bottom:Is that the intended behavior?
The text was updated successfully, but these errors were encountered: