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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to