On 7/31/2020 10:40 AM, Taco Hoekwater wrote:
Hi Hans,
On 31 Jul 2020, at 10:32, Hans Hagen
wrote: Hi,
Sorry for the long mail ...
One of the changes in lmtx is that we freeze the properties that determine the paragraph shape as well as breaking into lines in such a way that we have predictable behaviour. As a side effect it can be that existing code (lmtx only) will behave differently (will be fixed when we notice) but also that some low level user tweaking can not work, i.e. they are just ignored, but only when they happen mid paragraph which actually is always debatable anyway.
Now, if for some reasom you get unexpected results and can't wait for a fix, you can do this:
\forgetparagraphfreezing : disables \setparagraphfreezing : enables (default)
Are those global or local or can they be prefixed? For example, can we do this:
\setparagraphfreezing …. \placefigure[left]{}{} {Bla bla \forgetparagraphfreezing .. <override some stuff> }
the forget will basically tell the system that it should use the normal (register) variables ... a freeze stores values in the local par node but also stores which parameters are stored, so it is selective (one can freeze specific ones \snapshotpar \frozenhangaftercode which now makes me think: i can let a negative value do a specific unfreeze (\snapshotpar0 will unfreeze all)
or would that still trigger the built-in freeze ?
the (enabled by default) stored the values right after the par has started \setparagraphfreezing so then these values are frozen a successive change is then not used, but say that you do \parfillskip100pt in the middle of a paragraph, then that one will affect the next paragraph \bgroup \frozen \parfillskip100pt \egroup when this is done inside a paragraph, the assignment is done local, then it gets frozen in the current paragraph but it will not affect the next paragraph unless of course you used \global (\frozen is just a prefix and when it's time to do an assignment, just like the global state is checked, the frozen state is checked, and applied after the normal assignment, of course only for variables that deal with the par buildingl it is ignored otherwise; so, \frozen also works here: \frozen\advance\leftskip 10pt\relax) 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 -----------------------------------------------------------------