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: Re: Problem with latest version ?
Date: Thu, 5 Jan 2023 03:40:56 -0700	[thread overview]
Message-ID: <2E02ACF9-7211-4C4B-9AAC-5BD81182FBFF@comcast.net> (raw)
In-Reply-To: <5c6bb686-a9e9-8f4a-ad03-4efbadf84926@freedom.nl>

Hi Hans,

> On Jan 5, 2023, at 12:39 AM, Hans Hagen via ntg-context <ntg-context@ntg.nl> wrote:
> 
> On 1/5/2023 2:40 AM, Gavin via ntg-context wrote:
>> Hi List,
>> I could not figure out the right spot for the files m-tikz-pgfplots.tex and m-tikz-pgfplotstable.tex. I don’t currently have files with those names anywhere, and files with similar names and contents appear in a couple different places. I had to put off sorting it out until I had some more time.
>> I was able to find the right place for m-tikz.mkxl, and it prevented an error at \usemodule[pgfplots], but I’d still get an error if I tried to use any command from the pgfplots.
> indeed they go alongside the m-tikz file ... did you run mtxrun --generate?

Now I put the files alongside and ran mtxrun —generate. It did not work. The test file and resulting error are below. I used ConTeXt  ver: 2022.12.29 14:32 LMTX  fmt: 2022.12.29  int: english/english. I can try with the latest LMTX later today. The test file works with TeXLive 2022

Gavin


TEST FILE:

\usemodule[tikz]
\usemodule[pgfplots]			% PGFPlots module for graphs

\starttext

\starttikzpicture
	\draw (0, 0) circle (3cm);
\stoptikzpicture

\starttikzpicture
  \startaxis
    \addplot+[domain=0:360]
        {sin(x)};
  \stopaxis
\stoptikzpicture

\stoptext


ERROR:

tex error       > tex error on line 15 in file ./TikZTest.tex: Illegal unit of measure (pt inserted)

<to be read again> 
    
    \relax 
<macro> \pgfpl@@ 
    #1->\advance \count 0 by-1\relax 
    \ifnum \count 0=-1\relax \global \def \pgfplotslistselect@tmp {\def \pgfplotsretval {#1}}\fi 
<macro> \pgfpl@@ 
    \pgfpl@@ {blue,every mark/.append style={fill=blue!80!black},mark=*}
    \pgfpl@@ {red,every mark/.append style={fill=red!80!black},mark=square*}\pgfpl@@ {brown!60!black,every mark/.append style={fill=brown!80!black},mark=otimes*}\pgfpl@@ {black,mark=star
<macro> \pgfplotslistselect@ 
    #1\of #2\to #3->\begingroup \count 0=#1\relax \long \def \pgfpl@@ ##1{\advance \count 0 by-1\relax \ifnum \count 0=-1\relax \global \def \pgfplotslistselect@tmp {\def #3{##1}}\fi }#2
    \endgroup \pgfplotslistselect@tmp 
<macro> \pgfplots@getautoplotspec@ 
    #1#2#3->\ifnum #2=0 \let \pgfplotsretval =\pgfutil@empty \else \pgfplotsmathmodint {#3}{#2}\pgfplotslistselect \pgfmathresult \of #1\to \pgfplotsretval 
    \fi 
<macro> \pgfplots@getautoplotspec 
    ...ternal error: expected 'L' or 'M', not '\pgfplots@cycle@multi@list@sequence '}\fi \fi \else \pgfplotslistsize \autoplotspeclist \to \c@pgf@countd \pgfplots@getautoplotspec@ {\autoplotspeclist }{\c@pgf@countd }{\pgfplots@listindex }
    \let #1=\pgfp ...
 ...

<line 3.15> 
        \addplot+
    [domain=0:360]

 5     \usemodule[pgfplots]			% PGFPlots module for graphs
 6     
 7     \starttext
 8     
 9     \starttikzpicture
10     	\draw (0, 0) circle (3cm);
11     \stoptikzpicture
12     
13     \starttikzpicture
14       \startaxis
15 >>      \addplot+[domain=0:360]
16             {sin(x)};
17       \stopaxis
18     \stoptikzpicture
19     
20     \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-05 10:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-04 17:35 Fabrice Couvreur via ntg-context
2023-01-04 18:00 ` Fabrice Couvreur via ntg-context
2023-01-04 18:05   ` Henning Hraban Ramm via ntg-context
2023-01-04 23:22     ` Hans Hagen via ntg-context
2023-01-05  1:40       ` Gavin via ntg-context
2023-01-05  7:39         ` Hans Hagen via ntg-context
2023-01-05 10:40           ` Gavin via ntg-context [this message]
2023-01-05 12:49             ` Hans Hagen via ntg-context
     [not found]               ` <296AB549-C697-4133-ACB2-25E313A01BAE@libertycommon.org>
2023-01-06 14:17                 ` Gavin via ntg-context
2023-01-06 16:09                   ` Fabrice Couvreur via ntg-context
2023-01-07 15:22                     ` Gavin 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=2E02ACF9-7211-4C4B-9AAC-5BD81182FBFF@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).