
On 2025-06-12 07:56, Hans Hagen wrote:
Hi,
I uploaded a new version, this time a bit of beta, because of:
-- reworked control over callbacks: more restrictive, some protection against overload, better control; as a side effect context can run a bit faster but it depends on the job and features used; if something is not working as expected it might relate to this (easy to fix)
-- some preparations for an upgrade of grid snapping, profiling and spacing (mostly related to math in the new columnsets); we're still working on columnsets (side effect of mikael converting some advanced documents to use it)
-- overload protection enabled, for the moment only the warnings but at some point we might become more restrictive; keep an eye on messages so that you can see where your styles actually messes with already defined macros or enter the dangerous zone of changing primitives; fwiw: i've been running the highest level of protection already for years now (error mode) .. you can try \enabledirectives [overloadmode=error] at the top of your file to see how badly you behave
-- a few fixes here and there (related to mailing list questions and reports); nothing spectacular
-- some preparations wrt the new signalling mechanism(s) ... more about that after the meeting
-- additional warnings (or abort) in case one runs from tex live and missing or expected files
-- we're playing with some potential speedups but given the litle gain they might not make it into the lot eventually (if you run into bottlenecks, lets me know, with examples)
if there are unexpected side effects, let me know and i'll fix and upload again
The following example fails to generate a label in the makeup page. With 20250428 it does generate the label. With alternative=intext, all is as expected. The counter is incremented in all cases. \definelabel [X] % [alternative=intext] [alternative=inmargin] \definemakeup [mkup] [doublesided=no] \starttext \startmakeup [mkup] abc\X[abc]\par \ref[number][abc]\par \stopmakeup def\X[def]\par \ref[number][def]\par \Context\ version\par \contextversionnumber \stoptext -- Rik