ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gavin via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Gavin <gavinpublic@comcast.net>
Subject: pgfplots module wrecks in latest
Date: Thu, 29 Dec 2022 16:40:23 -0700	[thread overview]
Message-ID: <52EFA9B1-DB90-47EF-8902-E5D161899008@comcast.net> (raw)

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.
___________________________________________________________________________________
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:[~2022-12-29 23:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-29 23:40 Gavin via ntg-context [this message]
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
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=52EFA9B1-DB90-47EF-8902-E5D161899008@comcast.net \
    --to=ntg-context@ntg.nl \
    --cc=gavinpublic@comcast.net \
    /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).