> Op 27 okt 2025, om 23:43 heeft Hans Hagen via ntg-context
> <[email protected]> het volgende geschreven:
>
> Hi,
>
> I just did an upload. Apart from a few catches (like that arrow and some
> improvements in columnsets) the main additions are in the metafun department
> and performance.
>
Thank you very much Hans, I will certainly give the columnsets another try.
Robert
> - We added some parpasses (like 'mathbook') and we can now set them up with
> the align options. The vectors used are defined as constants (engine speak)
> which makes the performance impact kind of neglectable.
>
> - Also some predefined penalty vectors (think widowpenalties) became constant
> (as it's unlikely or unwise to change them) which is more efficient as they
> otherwise get copied every paragraph.
>
> - When testing with Mikaels math book (290 pages in 7.4 sec on his
> chromebook) we'd set a new target at 7 and later 6 seconds and eventually
> could get that and ended up at 5.3 seconds once we noticed that there was an
> huge graphic involved (so now our target is 4 sec). Caching demanding mp
> graphics helped but was still good for > .5 seconds. As a consequence we
> added a new function variant (see luametafun, domain functions so that
> runtime went down from > .5 seconds to about .03 sec) and we also made sure
> that inclusion of cached mp pages was more performant (when 'compact'
> inclusion is enabled in the page streams get parsed).
>
> - When multiple lua driven rendering features are used (happens seldom) there
> can be a bit of a speedup too. If someone thinks that there is a botleneck
> somewhere .. make an example and tell us.
>
> (Of course bying a new fancy laptop would half my runtime anyway but
> occasionally one wants a challenge.)
>
> - There is now a ppchtex-mkiv manual but it's work in progress and it needs
> checking. One thing I observed is that as we now default to 'double' instead
> of 'scaled' some rounding / comparison cases differ so
> when in douuibt, check with:
>
> % \ctxlua{chemistry.method = "scaled"}
>
> We still need to check / add updated columnset manuals so that might be next
> on the agenda.
>
> That's all,
>
> 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
> -----------------------------------------------------------------
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the
> Wiki!
>
> maillist : [email protected] /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________