On Fri, Jan 31, 2025 at 8:56 PM luigi scarso
Luigi, after testing all the branches it seems there are a couple more that should be fixed. Sorry for not checking that before.
Ok, I will check it this weekend .
I've tested a little bit more, and unfortunately the situation is more complicated than I thought. It seems the value of \pagedirection at shipout time affects the position (but not direction) of horizontal boxes. If \pagedirection is 0 at shipout time, hboxes are left aligned with the page box, If \pagedirection is 1 at shipout time, hboxes are right aligned with the page box. This means if the equation box's (including the kern and equation number) width is less than the line width, the position of the equation will be dependent on the value of \pagedirection at shipout time. Since we can't know what will be the value of \pagedirection at shipout time in finish_displayed_math, the only solution I can think of, is to make sure the equation box has the width of a line, by padding with white (a kern) space if needed. Is this an acceptable solution?
_______________________________________________ dev-luatex mailing list -- dev-luatex@ntg.nl To unsubscribe send an email to dev-luatex-leave@ntg.nl