On 3/30/2023 11:56 PM, Xavier B. via ntg-context wrote:
Thanks, Max, for finding the problem. It is related to two more bugs: https://github.com/pgf-tikz/pgf/issues/990 and https://github.com/pgf-tikz/pgf/issues/958
Perhaps Hans or other people could help tikz staff to do the pending and definitive solution. It's annoying to have to put workarrounds in production documents.
There is just a glad mkiv user ;-) \usemodule[tikz]
\starttext Hello World. \stoptext works ok here \usemodule[tikz] \starttext \starttikzpicture \node [left color=red, right color=yellow] {Hello}; \stoptikzpicture \stoptext fails on \setbox \pgfutil@tempboxa =\hbox dir TLT to\pgfmathresult pt{\vbox because we don't have 'dir TLT' in luametatex (and more engines don't so i would expect tikz to have some abstraction for that) 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 -----------------------------------------------------------------