-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Display math mode page break and paragraph indenting issue #2160
Comments
N.B. added "additional notes" to the initial description. |
See sile-typesetter#2160. This is a conservative workaround. Introducing the predisplay/postdisplay penalties is the right thing to do, but a more general solution to the full issue requires a more subtle handling of in-paragraph display math equations, which is not considered here.
See sile-typesetter#2160. This is a conservative workaround. Introducing the predisplay/postdisplay penalties is the right thing to do, but a more general solution to the full issue requires a more subtle handling of in-paragraph display math equations, which is not considered here.
See sile-typesetter#2160. This is a conservative workaround. Introducing the predisplay/postdisplay penalties is the right thing to do, but a more general solution to the full issue requires a more subtle handling of in-paragraph display math equations, which is not considered here.
I am suggesting a conservative workaround in #2162, at least discouraging page breaks before display math equations and tuning breaks after them, introducing TeX's pre/post display penalties and doing the minimal things needed in our current implementation to use them adequately... But there are various ways a finer-grain approach could be considered. Anyhow, at least avoiding very unpleasant page breaks is satisfying workaround, and #2162 does no less (but no more either) than that. |
See sile-typesetter#2160. This is a conservative workaround. Introducing the predisplay/postdisplay penalties is the right thing to do, but a more general solution to the full issue requires a more subtle handling of in-paragraph display math equations, which is not considered here.
Two related issues with SILE 0.15.5's implementation of display math mode:
Example
Obtained
Expected
Main references
For reference, (La)TeX has finer control here:
It's less obvious than it might seem at a glance
Additional notes
SILE has math.displayskip.
TeX has:
These allow to have different skips before and after the equation.
More interestingly, the "short" version are used when the display equation would fit on the last paragraph line.
Same challenge as above, this has implications on the line wrapping logic.
The text was updated successfully, but these errors were encountered: