[NTG-context] pgfplots module wrecks in latest

Henri Menke henri at henrimenke.de
Mon Jan 16 18:10:00 CET 2023


On Mon, 2023-01-16 at 11:56 -0500, Aditya Mahajan wrote:
> 
> On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote:
> 
> > just load tikz first so that the right loader helpers are there
> > 
> > \usemodule[tikz]
> > \usemodule[pgfplots]
> > 
> > \starttext
> > Hello
> > \stoptext
> > 
> > seems to work here
> 
> I did a fresh install of context and downloaded the latest version of
> pgf/tikz and pgfplots from ctan. Now, something is wrong with tikz:
> 
> \usemodule[tikz]
> 
> \starttext
> Hello
> \stoptext
> 
> gives the attached log file. Not sure what changed on the tikz end. 

That's most likely due to

https://github.com/pgf-tikz/pgf/issues/1062
https://github.com/pgf-tikz/pgf/pull/1073

but this MWE

\catcode`\@=11

\begingroup
  \lccode`\~=`\"
  \lowercase{\endgroup
    \def\pgfmath at catcodes{%
      \catcode`\==12 %
      \catcode`\,=12 %
      \catcode`\|=12 %
      \catcode`\&=12 %
      \let~\pgfmath at char@quote
    }}%

{\pgfmath at catcodes "}

\bye

works in Knuth TeX, so it's likely not our fault.

Cheers,
Henri

> 
> Thanks,
> Aditya
> 



More information about the ntg-context mailing list