[NTG-context] pgfplots module wrecks in latest

Aditya Mahajan adityam at umich.edu
Wed Jan 18 07:29:42 CET 2023


On Mon, 16 Jan 2023, Aditya Mahajan via ntg-context wrote:

> On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote:
> 
> > make sure to get rid of the t-tikz modules
> 
> Tested again. Downloaded the latest context and pgf.tds.zip from ctan. Unizip pgf by using 'unzip -x "**/t-*.*" so that no t- modules from tikz are unzipped but still get the following error on a simple hello world example:
> 
> \usemodule[tikz]
> 
> \starttext
> Hello
> \stoptext
> 
> gives the attached log.

In case anyone else needs a temp workaround until this is resolved:

\usemodule[filter]

\startbuffer[tikz-start]
\usemodule[tikz]
% Add font setup
% Add  tikz setup
\starttext
\startTEXpage
\starttikzpicture
\stopbuffer

\startbuffer[tikz-stop]
\stoptikzpicture
\stopTEXpage
\stoptext
\stopbuffer

\defineexternalfilter
    [tikzpicture]
    [
      filter=context --luatex --once,
      cache=yes,
      output=\externalfilterbasefile.pdf,
      readcommand=\IncludeTikzPicture,
      bufferbefore=tikz-start,
      bufferafter=tikz-stop,
    ]

\define[1]\IncludeTikzPicture{\externalfigure[#1]}


\starttext
Hello

\starttikzpicture
  \draw (0,0) -- (1,1);
\stoptikzpicture
\stoptext



More information about the ntg-context mailing list