Hi List,
The TikZ related module “pgfplots” is causing a fatal error in the latest ConTeXt. Here is a MWE:
\usemodule[tikz]
\usemodule[pgfplots] % PGFPlots module for graphs
\starttext
\starttikzpicture
\draw (0, 0) circle (3cm);
\stoptikzpicture
\stoptext
Without loading the pgfplots module, this draws a circle. With the \usemodule[pgfplots] line, this has the error below before doing anything.
I don’t know when this started happening, because I don’t use pgfplots often, but it was probably in the last couple months.
Thanks for all the great updates!
Gavin
tex error > tex error on line 521 in file pgfplots.code.tex: Use of \pgfplots@command@to@string@@ doesn't match its definition
<inserted text>
m
acro:colormap
<argument>
\pgfplots@colormap@catcodemagic
<macro> \pgfplots@command@to@string
#1#2->\expandafter \pgfplots@command@to@string@@ \meaning #1
\pgfplots@EOI {#2}
<line 6.521>
\pgfplots@command@to@string\pgfplots@colormap@catcodemagic\pgfplots@colormap@catcodemagic
<empty file>
If you say, e.g., '\def\a1{...}', then you must always put '1' after '\a',
since control sequence names are made up of letters only. The macro here has not
been followed by the required stuff, so I'm ignoring it.