
On 2/6/2025 12:22 PM, Udicoudco wrote:
Just for fun, I wondered how luametatex deals with it, as there are parfillrightskip and parfilleftskip to consider, which complicates things even more...
indeed, when we remove the empty par we look at these two skips but also at an indent skip (when no indent hlist is used) so when it comes to display math, we can use the same checker but for the sake of experiments I made it configurable (dir node, parnode, indent hlist node, three glue variants) (controlled by a parameter that is a bitset) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------