ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
To: Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
Cc: Aditya Mahajan <adityam@umich.edu>
Subject: Re: pgfplots module wrecks in latest
Date: Wed, 18 Jan 2023 01:29:42 -0500 (EST)	[thread overview]
Message-ID: <o73r5191-n130-0601-3324-6606nq7po05q@hzvpu.rqh> (raw)
In-Reply-To: <8oq18111-7747-s8np-o5n3-rnp886o17245@hzvpu.rqh>

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	other threads:[~2023-01-18  6:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-29 23:40 Gavin via ntg-context
2022-12-30  9:33 ` Hans Hagen via ntg-context
2023-01-16  2:21   ` Aditya Mahajan via ntg-context
2023-01-16  9:16     ` Hans Hagen via ntg-context
2023-01-16 16:56       ` Aditya Mahajan via ntg-context
2023-01-16 17:10         ` Henri Menke via ntg-context
2023-01-16 17:23           ` Aditya Mahajan via ntg-context
2023-01-16 17:35             ` Hans Hagen via ntg-context
2023-01-17  4:39               ` Aditya Mahajan via ntg-context
2023-01-18  6:29                 ` Aditya Mahajan via ntg-context [this message]
2023-01-25  4:27                 ` Aditya Mahajan via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=o73r5191-n130-0601-3324-6606nq7po05q@hzvpu.rqh \
    --to=ntg-context@ntg.nl \
    --cc=adityam@umich.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).