Hans Hagen schrieb am 12.12.2020 um 13:20:
On 12/12/2020 12:19 PM, Jean-Philippe Rey wrote:
Le 12 déc. 2020 à 11:58, Hans Hagen <j.ha...@xs4all.nl
<mailto:j.ha...@xs4all.nl>> a écrit :
On 12/12/2020 10:36 AM, Jean-Philippe Rey wrote:
Dear list,
I am unable to draw a plot using an external file with LMTX. Here
is a minimal example
=====================
\usemodule[pgfplots]
\starttext
\starttikzpicture
\startaxis
\addplot table [x=t, y=E] {mfe-addplot.dat};
\stopaxis
\stoptikzpicture
\stoptext
=====================
The ConTeXt run fails with an "Undefined control sequence" error
(see attached log file). I don't know if this is an LMTX or PGF
issue. The example works fine with MkIV. I tried with the tikz
version available on ConTeXt garden (pgf 3.0.1, pgfplots 1.16) and
the last one from CTAN (pgf 3.1.7a, pgfplots 1.17) with the same
result.
looks like \PackageError is undefined which is something PGF
\PackageError is a LaTeX command which takes 3 argument:
\PackageError{<package>}{<error>}{<help>}
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________