Migrating content support in framebox, so e.g. the following footnotes work:
Different approach to migrating content handling in parbox to ensure migrating content is properly re-inserted just after the parbox and not before, and the following works - as before but in a more robust way:
Adaptation of ptable with respect to the previous point (when building cell parboxes and when shipping them out)
In all these packages, and struts as well, removal of the "hbox/parbox stealing" trick (e.g. popping a box from the typesetter node queue, for measurement needs or to re-insert it later wrapped in some modified box, e.g. for color etc.) - It couldn't play well with migrating content being in the typesetter node queue too.
P.S. The implementation uses a "compatibility hack/shim" to (re-)implement here the logic proposed in https://github.com/sile-typesetter/sile/pull/1702 (so if it makes it at some point, the hack/shim could be removed - well, when we decide not to support earlier versions of SILE any longer at least).
P.P.S. The compatibility hack/shim here has a few differences from its initial implementation in the reSile/Silex alternative typesetter (for me to remember... when/if the latter sees the light ^^).
Closes #2
Migrating content support in framebox, so e.g. the following footnotes work:![image](https://user-images.githubusercontent.com/18075640/215296889-d34a5669-c709-4447-8a02-46c20541ff49.png)
Different approach to migrating content handling in parbox to ensure migrating content is properly re-inserted just after the parbox and not before, and the following works - as before but in a more robust way:![image](https://user-images.githubusercontent.com/18075640/215296875-a83d6d76-5ff0-47e4-a2e0-c282444c3554.png)
Adaptation of ptable with respect to the previous point (when building cell parboxes and when shipping them out)
In all these packages, and struts as well, removal of the "hbox/parbox stealing" trick (e.g. popping a box from the typesetter node queue, for measurement needs or to re-insert it later wrapped in some modified box, e.g. for color etc.) - It couldn't play well with migrating content being in the typesetter node queue too.
P.S. The implementation uses a "compatibility hack/shim" to (re-)implement here the logic proposed in https://github.com/sile-typesetter/sile/pull/1702 (so if it makes it at some point, the hack/shim could be removed - well, when we decide not to support earlier versions of SILE any longer at least).
P.P.S. The compatibility hack/shim here has a few differences from its initial implementation in the reSile/Silex alternative typesetter (for me to remember... when/if the latter sees the light ^^).