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 ;-)
Thanks another way,
Xavier
On Thu, 30 Mar 2023 14:57:06 -0600
Max Chernoff
Hi Xavier,
During the texlive package, I get this error:
I simply run context to this file:
\usemodule[tikz]
\starttext {\bf a} \tikz (0,0) -- (1,0); \stoptext
So, the problem is not the package or the distro, it's something more basic which causes the error.
Someone else reported this issue to the TikZ GitHub:
https://github.com/pgf-tikz/pgf/issues/1248
so it's definitely not just you. There's also a suggested (temporary) solution there. For a more permanent solution, someone will need to patch the m-tikz.mkXX files distributed with ConTeXt.
-- Max