Problem with latest version ?
![](https://secure.gravatar.com/avatar/d7c3317235884569312c31f786d43bbc.jpg?s=120&d=mm&r=g)
Hi,
I just installed the latest version of LMTX and also updated to texlive
2022 and I get this error message which was not the case before.
Thank you.
Fabrice
Running `lmtX' on `complexes_2' with
``/home/fabrice/LMTX/tex/texmf-linux-64/bin/mtxrun --autogenerate --script
context --autopdf --purgeall complexes_2''
resolvers | formats | executing runner 'run luametatex format':
/home/fabrice/LMTX/tex/texmf-linux-64/bin/luametatex
--jobname="./complexes_2.tex"
--fmt=/home/fabrice/LMTX/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
--lua=/home/fabrice/LMTX/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
--c:autopdf --c:currentrun=1 --c:fulljobname="./complexes_2.tex"
--c:input="./complexes_2.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:purgeall
--c:texmfbinpath="/home/fabrice/LMTX/tex/texmf-linux-64/bin"
system >
system > ConTeXt ver: 2023.01.04 11:35 LMTX fmt: 2023.1.4 int:
english/english
system >
system > 'cont-new.mkxl' loaded
open source > level 1, order 1, name
'/home/fabrice/LMTX/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > beware: some patches loaded from cont-new.mkiv
close source > level 1, order 1, name
'/home/fabrice/LMTX/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > files > jobname './complexes_2', input
'./complexes_2.tex', result './complexes_2'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 1, order 2, name './complexes_2.tex'
open source > level 2, order 3, name 'exercises.mkiv'
open source > level 3, order 4, name 'terminale-modules.tex'
open source > level 4, order 5, name
'/home/fabrice/LMTX/tex/texmf-context/tex/context/base/mkiv/symb-imp-mvs.mkiv'
close source > level 4, order 5, name
'/home/fabrice/LMTX/tex/texmf-context/tex/context/base/mkiv/symb-imp-mvs.mkiv'
fonts > symbols > library 'mvs' loaded
open source > level 4, order 6, name
'/home/fabrice/LMTX/tex/texmf-context/tex/context/base/mkiv/colo-imp-xwi.mkiv'
close source > level 4, order 6, name
'/home/fabrice/LMTX/tex/texmf-context/tex/context/base/mkiv/colo-imp-xwi.mkiv'
colors > system 'xwi' is loaded
modules > 'tikz' is loaded
open source > level 4, order 7, name
'/home/fabrice/LMTX/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl'
open source > level 5, order 8, name 'pgfutil-common.tex'
open source > level 6, order 9, name 'pgfutil-common-lists.tex'
close source > level 6, order 9, name 'pgfutil-common-lists.tex'
close source > level 5, order 9, name 'pgfutil-common.tex'
open source > level 5, order 10, name 'pgfutil-context.def'
close source > level 5, order 10, name 'pgfutil-context.def'
open source > level 5, order 11, name 'pgfrcs.code.tex'
close source > level 5, order 11, name 'pgfrcs.code.tex'
open source > level 5, order 12, name 'pgfsys.code.tex'
open source > level 6, order 13, name 'pgfkeys.code.tex'
open source > level 7, order 14, name 'pgfkeysfiltered.code.tex'
close source > level 7, order 14, name 'pgfkeysfiltered.code.tex'
close source > level 6, order 14, name 'pgfkeys.code.tex'
open source > level 6, order 15, name 'pgf.cfg'
close source > level 6, order 15, name 'pgf.cfg'
Driver file for pgf: pgfsys-pdftex.def
open source > level 6, order 16, name 'pgfsys-pdftex.def'
open source > level 7, order 17, name 'pgfsys-common-pdf.def'
close source > level 7, order 17, name 'pgfsys-common-pdf.def'
close source > level 6, order 17, name 'pgfsys-pdftex.def'
close source > level 5, order 17, name 'pgfsys.code.tex'
open source > level 5, order 18, name 'pgfkeys.code.tex'
close source > level 5, order 18, name 'pgfkeys.code.tex'
open source > level 5, order 19, name 'pgfsyssoftpath.code.tex'
close source > level 5, order 19, name 'pgfsyssoftpath.code.tex'
open source > level 5, order 20, name 'pgfsysprotocol.code.tex'
close source > level 5, order 20, name 'pgfsysprotocol.code.tex'
open source > level 5, order 21, name 'pgfcore.code.tex'
open source > level 6, order 22, name 'pgfmath.code.tex'
open source > level 7, order 23, name 'pgfmathcalc.code.tex'
open source > level 8, order 24, name 'pgfmathutil.code.tex'
fonts > beware: no fonts are loaded yet, using 'lm mono' in box
close source > level 8, order 24, name 'pgfmathutil.code.tex'
open source > level 8, order 25, name 'pgfmathparser.code.tex'
close source > level 8, order 25, name 'pgfmathparser.code.tex'
open source > level 8, order 26, name 'pgfmathfunctions.code.tex'
open source > level 9, order 27, name 'pgfmathfunctions.basic.code.tex'
close source > level 9, order 27, name 'pgfmathfunctions.basic.code.tex'
open source > level 9, order 28, name
'pgfmathfunctions.trigonometric.code.tex'
close source > level 9, order 28, name
'pgfmathfunctions.trigonometric.code.tex'
open source > level 9, order 29, name 'pgfmathfunctions.random.code.tex'
close source > level 9, order 29, name 'pgfmathfunctions.random.code.tex'
open source > level 9, order 30, name
'pgfmathfunctions.comparison.code.tex'
close source > level 9, order 30, name
'pgfmathfunctions.comparison.code.tex'
open source > level 9, order 31, name 'pgfmathfunctions.base.code.tex'
close source > level 9, order 31, name 'pgfmathfunctions.base.code.tex'
open source > level 9, order 32, name 'pgfmathfunctions.round.code.tex'
close source > level 9, order 32, name 'pgfmathfunctions.round.code.tex'
open source > level 9, order 33, name 'pgfmathfunctions.misc.code.tex'
close source > level 9, order 33, name 'pgfmathfunctions.misc.code.tex'
open source > level 9, order 34, name
'pgfmathfunctions.integerarithmetics.code.tex'
close source > level 9, order 34, name
'pgfmathfunctions.integerarithmetics.code.tex'
close source > level 8, order 34, name 'pgfmathfunctions.code.tex'
close source > level 7, order 34, name 'pgfmathcalc.code.tex'
open source > level 7, order 35, name 'pgfmathfloat.code.tex'
close source > level 7, order 35, name 'pgfmathfloat.code.tex'
close source > level 6, order 35, name 'pgfmath.code.tex'
open source > level 6, order 36, name 'pgfcorepoints.code.tex'
close source > level 6, order 36, name 'pgfcorepoints.code.tex'
open source > level 6, order 37, name 'pgfcorepathconstruct.code.tex'
close source > level 6, order 37, name 'pgfcorepathconstruct.code.tex'
open source > level 6, order 38, name 'pgfcorepathusage.code.tex'
close source > level 6, order 38, name 'pgfcorepathusage.code.tex'
open source > level 6, order 39, name 'pgfcorescopes.code.tex'
close source > level 6, order 39, name 'pgfcorescopes.code.tex'
open source > level 6, order 40, name 'pgfcoregraphicstate.code.tex'
close source > level 6, order 40, name 'pgfcoregraphicstate.code.tex'
open source > level 6, order 41, name 'pgfcoretransformations.code.tex'
close source > level 6, order 41, name 'pgfcoretransformations.code.tex'
open source > level 6, order 42, name 'pgfcorequick.code.tex'
close source > level 6, order 42, name 'pgfcorequick.code.tex'
open source > level 6, order 43, name 'pgfcoreobjects.code.tex'
close source > level 6, order 43, name 'pgfcoreobjects.code.tex'
open source > level 6, order 44, name 'pgfcorepathprocessing.code.tex'
close source > level 6, order 44, name 'pgfcorepathprocessing.code.tex'
open source > level 6, order 45, name 'pgfcorearrows.code.tex'
close source > level 6, order 45, name 'pgfcorearrows.code.tex'
open source > level 6, order 46, name 'pgfcoreshade.code.tex'
close source > level 6, order 46, name 'pgfcoreshade.code.tex'
open source > level 6, order 47, name 'pgfcoreimage.code.tex'
open source > level 7, order 48, name 'pgfcoreexternal.code.tex'
close source > level 7, order 48, name 'pgfcoreexternal.code.tex'
close source > level 6, order 48, name 'pgfcoreimage.code.tex'
open source > level 6, order 49, name 'pgfcorelayers.code.tex'
close source > level 6, order 49, name 'pgfcorelayers.code.tex'
open source > level 6, order 50, name 'pgfcoretransparency.code.tex'
close source > level 6, order 50, name 'pgfcoretransparency.code.tex'
open source > level 6, order 51, name 'pgfcorepatterns.code.tex'
close source > level 6, order 51, name 'pgfcorepatterns.code.tex'
open source > level 6, order 52, name 'pgfcorerdf.code.tex'
close source > level 6, order 52, name 'pgfcorerdf.code.tex'
close source > level 5, order 52, name 'pgfcore.code.tex'
open source > level 5, order 53, name 'pgffor.code.tex'
open source > level 6, order 54, name 'pgfmath.code.tex'
close source > level 6, order 54, name 'pgfmath.code.tex'
close source > level 5, order 54, name 'pgffor.code.tex'
open source > level 5, order 55, name 'pgfmoduleplot.code.tex'
close source > level 5, order 55, name 'pgfmoduleplot.code.tex'
open source > level 5, order 56, name 'tikz.code.tex'
open source > level 6, order 57, name 'pgflibraryplothandlers.code.tex'
close source > level 6, order 57, name 'pgflibraryplothandlers.code.tex'
open source > level 6, order 58, name 'pgfmodulematrix.code.tex'
open source > level 7, order 59, name 'pgfmoduleshapes.code.tex'
close source > level 7, order 59, name 'pgfmoduleshapes.code.tex'
close source > level 6, order 59, name 'pgfmodulematrix.code.tex'
open source > level 6, order 60, name 'tikzlibrarytopaths.code.tex'
close source > level 6, order 60, name 'tikzlibrarytopaths.code.tex'
close source > level 5, order 60, name 'tikz.code.tex'
open source > level 5, order 61, name 'pgfmoduleplot.code.tex'
close source > level 5, order 61, name 'pgfmoduleplot.code.tex'
open source > level 5, order 62, name 'pgfmoduledecorations.code.tex'
close source > level 5, order 62, name 'pgfmoduledecorations.code.tex'
close source > level 4, order 62, name
'/home/fabrice/LMTX/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl'
modules > 'pgfplots' is not found
tex error > tex error on line 8 in file terminale-modules.tex:
Control sequence expected instead of undefined
<recently read>
\usepgfplotslibrary
![](https://secure.gravatar.com/avatar/d7c3317235884569312c31f786d43bbc.jpg?s=120&d=mm&r=g)
The problem seems to come from pgfplots ...
Le mer. 4 janv. 2023 à 17:35, Fabrice Couvreur
Hi, I just installed the latest version of LMTX and also updated to texlive 2022 and I get this error message which was not the case before. Thank you. Fabrice
Running `lmtX' on `complexes_2' with ``/home/fabrice/LMTX/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf --purgeall complexes_2''
resolvers | formats | executing runner 'run luametatex format': /home/fabrice/LMTX/tex/texmf-linux-64/bin/luametatex --jobname="./complexes_2.tex" --fmt=/home/fabrice/LMTX/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/fabrice/LMTX/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:autopdf --c:currentrun=1 --c:fulljobname="./complexes_2.tex" --c:input="./complexes_2.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:purgeall --c:texmfbinpath="/home/fabrice/LMTX/tex/texmf-linux-64/bin" system > system > ConTeXt ver: 2023.01.04 11:35 LMTX fmt: 2023.1.4 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name '/home/fabrice/LMTX/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source > level 1, order 1, name '/home/fabrice/LMTX/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname './complexes_2', input './complexes_2.tex', result './complexes_2' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 2, name './complexes_2.tex' open source > level 2, order 3, name 'exercises.mkiv' open source > level 3, order 4, name 'terminale-modules.tex' open source > level 4, order 5, name '/home/fabrice/LMTX/tex/texmf-context/tex/context/base/mkiv/symb-imp-mvs.mkiv' close source > level 4, order 5, name '/home/fabrice/LMTX/tex/texmf-context/tex/context/base/mkiv/symb-imp-mvs.mkiv' fonts > symbols > library 'mvs' loaded open source > level 4, order 6, name '/home/fabrice/LMTX/tex/texmf-context/tex/context/base/mkiv/colo-imp-xwi.mkiv' close source > level 4, order 6, name '/home/fabrice/LMTX/tex/texmf-context/tex/context/base/mkiv/colo-imp-xwi.mkiv' colors > system 'xwi' is loaded modules > 'tikz' is loaded open source > level 4, order 7, name '/home/fabrice/LMTX/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl' open source > level 5, order 8, name 'pgfutil-common.tex' open source > level 6, order 9, name 'pgfutil-common-lists.tex' close source > level 6, order 9, name 'pgfutil-common-lists.tex' close source > level 5, order 9, name 'pgfutil-common.tex' open source > level 5, order 10, name 'pgfutil-context.def' close source > level 5, order 10, name 'pgfutil-context.def' open source > level 5, order 11, name 'pgfrcs.code.tex' close source > level 5, order 11, name 'pgfrcs.code.tex' open source > level 5, order 12, name 'pgfsys.code.tex' open source > level 6, order 13, name 'pgfkeys.code.tex' open source > level 7, order 14, name 'pgfkeysfiltered.code.tex' close source > level 7, order 14, name 'pgfkeysfiltered.code.tex' close source > level 6, order 14, name 'pgfkeys.code.tex' open source > level 6, order 15, name 'pgf.cfg' close source > level 6, order 15, name 'pgf.cfg' Driver file for pgf: pgfsys-pdftex.def
open source > level 6, order 16, name 'pgfsys-pdftex.def' open source > level 7, order 17, name 'pgfsys-common-pdf.def' close source > level 7, order 17, name 'pgfsys-common-pdf.def' close source > level 6, order 17, name 'pgfsys-pdftex.def' close source > level 5, order 17, name 'pgfsys.code.tex' open source > level 5, order 18, name 'pgfkeys.code.tex' close source > level 5, order 18, name 'pgfkeys.code.tex' open source > level 5, order 19, name 'pgfsyssoftpath.code.tex' close source > level 5, order 19, name 'pgfsyssoftpath.code.tex' open source > level 5, order 20, name 'pgfsysprotocol.code.tex' close source > level 5, order 20, name 'pgfsysprotocol.code.tex' open source > level 5, order 21, name 'pgfcore.code.tex' open source > level 6, order 22, name 'pgfmath.code.tex' open source > level 7, order 23, name 'pgfmathcalc.code.tex' open source > level 8, order 24, name 'pgfmathutil.code.tex' fonts > beware: no fonts are loaded yet, using 'lm mono' in box close source > level 8, order 24, name 'pgfmathutil.code.tex' open source > level 8, order 25, name 'pgfmathparser.code.tex' close source > level 8, order 25, name 'pgfmathparser.code.tex' open source > level 8, order 26, name 'pgfmathfunctions.code.tex' open source > level 9, order 27, name 'pgfmathfunctions.basic.code.tex' close source > level 9, order 27, name 'pgfmathfunctions.basic.code.tex' open source > level 9, order 28, name 'pgfmathfunctions.trigonometric.code.tex' close source > level 9, order 28, name 'pgfmathfunctions.trigonometric.code.tex' open source > level 9, order 29, name 'pgfmathfunctions.random.code.tex' close source > level 9, order 29, name 'pgfmathfunctions.random.code.tex' open source > level 9, order 30, name 'pgfmathfunctions.comparison.code.tex' close source > level 9, order 30, name 'pgfmathfunctions.comparison.code.tex' open source > level 9, order 31, name 'pgfmathfunctions.base.code.tex' close source > level 9, order 31, name 'pgfmathfunctions.base.code.tex' open source > level 9, order 32, name 'pgfmathfunctions.round.code.tex' close source > level 9, order 32, name 'pgfmathfunctions.round.code.tex' open source > level 9, order 33, name 'pgfmathfunctions.misc.code.tex' close source > level 9, order 33, name 'pgfmathfunctions.misc.code.tex' open source > level 9, order 34, name 'pgfmathfunctions.integerarithmetics.code.tex' close source > level 9, order 34, name 'pgfmathfunctions.integerarithmetics.code.tex' close source > level 8, order 34, name 'pgfmathfunctions.code.tex' close source > level 7, order 34, name 'pgfmathcalc.code.tex' open source > level 7, order 35, name 'pgfmathfloat.code.tex' close source > level 7, order 35, name 'pgfmathfloat.code.tex' close source > level 6, order 35, name 'pgfmath.code.tex' open source > level 6, order 36, name 'pgfcorepoints.code.tex' close source > level 6, order 36, name 'pgfcorepoints.code.tex' open source > level 6, order 37, name 'pgfcorepathconstruct.code.tex' close source > level 6, order 37, name 'pgfcorepathconstruct.code.tex' open source > level 6, order 38, name 'pgfcorepathusage.code.tex' close source > level 6, order 38, name 'pgfcorepathusage.code.tex' open source > level 6, order 39, name 'pgfcorescopes.code.tex' close source > level 6, order 39, name 'pgfcorescopes.code.tex' open source > level 6, order 40, name 'pgfcoregraphicstate.code.tex' close source > level 6, order 40, name 'pgfcoregraphicstate.code.tex' open source > level 6, order 41, name 'pgfcoretransformations.code.tex' close source > level 6, order 41, name 'pgfcoretransformations.code.tex' open source > level 6, order 42, name 'pgfcorequick.code.tex' close source > level 6, order 42, name 'pgfcorequick.code.tex' open source > level 6, order 43, name 'pgfcoreobjects.code.tex' close source > level 6, order 43, name 'pgfcoreobjects.code.tex' open source > level 6, order 44, name 'pgfcorepathprocessing.code.tex' close source > level 6, order 44, name 'pgfcorepathprocessing.code.tex' open source > level 6, order 45, name 'pgfcorearrows.code.tex' close source > level 6, order 45, name 'pgfcorearrows.code.tex' open source > level 6, order 46, name 'pgfcoreshade.code.tex' close source > level 6, order 46, name 'pgfcoreshade.code.tex' open source > level 6, order 47, name 'pgfcoreimage.code.tex' open source > level 7, order 48, name 'pgfcoreexternal.code.tex' close source > level 7, order 48, name 'pgfcoreexternal.code.tex' close source > level 6, order 48, name 'pgfcoreimage.code.tex' open source > level 6, order 49, name 'pgfcorelayers.code.tex' close source > level 6, order 49, name 'pgfcorelayers.code.tex' open source > level 6, order 50, name 'pgfcoretransparency.code.tex' close source > level 6, order 50, name 'pgfcoretransparency.code.tex' open source > level 6, order 51, name 'pgfcorepatterns.code.tex' close source > level 6, order 51, name 'pgfcorepatterns.code.tex' open source > level 6, order 52, name 'pgfcorerdf.code.tex' close source > level 6, order 52, name 'pgfcorerdf.code.tex' close source > level 5, order 52, name 'pgfcore.code.tex' open source > level 5, order 53, name 'pgffor.code.tex' open source > level 6, order 54, name 'pgfmath.code.tex' close source > level 6, order 54, name 'pgfmath.code.tex' close source > level 5, order 54, name 'pgffor.code.tex' open source > level 5, order 55, name 'pgfmoduleplot.code.tex' close source > level 5, order 55, name 'pgfmoduleplot.code.tex' open source > level 5, order 56, name 'tikz.code.tex' open source > level 6, order 57, name 'pgflibraryplothandlers.code.tex' close source > level 6, order 57, name 'pgflibraryplothandlers.code.tex' open source > level 6, order 58, name 'pgfmodulematrix.code.tex' open source > level 7, order 59, name 'pgfmoduleshapes.code.tex' close source > level 7, order 59, name 'pgfmoduleshapes.code.tex' close source > level 6, order 59, name 'pgfmodulematrix.code.tex' open source > level 6, order 60, name 'tikzlibrarytopaths.code.tex' close source > level 6, order 60, name 'tikzlibrarytopaths.code.tex' close source > level 5, order 60, name 'tikz.code.tex' open source > level 5, order 61, name 'pgfmoduleplot.code.tex' close source > level 5, order 61, name 'pgfmoduleplot.code.tex' open source > level 5, order 62, name 'pgfmoduledecorations.code.tex' close source > level 5, order 62, name 'pgfmoduledecorations.code.tex' close source > level 4, order 62, name '/home/fabrice/LMTX/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl' modules > 'pgfplots' is not found tex error > tex error on line 8 in file terminale-modules.tex: Control sequence expected instead of undefined
<recently read> \usepgfplotslibrary
\usepgfplotslibrary [fillbetween] 1 2 \startenvironment[terminale-modules] 3 4 \usesymbols[mvs] 5 \usecolors[xwi] 6 \usemodule[tikz] 7 \usemodule[pgfplots] 8 >> \usepgfplotslibrary[fillbetween] 9 \pgfplotsset{compat=newest} 10 \usetikzlibrary[arrows] 11 \usetikzlibrary[automata] 12 \usetikzlibrary[calc] 13 \usetikzlibrary[backgrounds] 14 \usetikzlibrary[intersections] 15 \usetikzlibrary[patterns] 16 \usetikzlibrary[bending] 17 \usetikzlibrary[arrows.meta] 18 \usetikzlibrary[shapes.geometric] You injected something that confused the parser, maybe by using some Lua call. mtx-context | fatal error: return code: 1
TeX Output exited abnormally with code 1 at Wed Jan 4 17:27:20
![](https://secure.gravatar.com/avatar/ed6f43113e3f1cee031ebd13654fc703.jpg?s=120&d=mm&r=g)
On 1/4/2023 7:05 PM, Henning Hraban Ramm via ntg-context wrote:
Am 04.01.23 um 19:00 schrieb Fabrice Couvreur via ntg-context:
The problem seems to come from pgfplots ...
There was a message about the same by Gavin and an answer by Hans on 2022-12-30. Maybe the fix didn’t make it into the latest upload. no news from gavin so ... not added yet
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/b0886ce6acd8fbd59953222285cac78b.jpg?s=120&d=mm&r=g)
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. Gavin
On Jan 4, 2023, at 4:22 PM, Hans Hagen via ntg-context
wrote: On 1/4/2023 7:05 PM, Henning Hraban Ramm via ntg-context wrote:
Am 04.01.23 um 19:00 schrieb Fabrice Couvreur via ntg-context:
The problem seems to come from pgfplots ... There was a message about the same by Gavin and an answer by Hans on 2022-12-30. Maybe the fix didn’t make it into the latest upload. no news from gavin so ... not added yet
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
___________________________________________________________________________________ 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/ed6f43113e3f1cee031ebd13654fc703.jpg?s=120&d=mm&r=g)
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?
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/b0886ce6acd8fbd59953222285cac78b.jpg?s=120&d=mm&r=g)
Hi Hans,
On Jan 5, 2023, at 12:39 AM, Hans Hagen via ntg-context
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 ...
...
![](https://secure.gravatar.com/avatar/ed6f43113e3f1cee031ebd13654fc703.jpg?s=120&d=mm&r=g)
On 1/5/2023 11:40 AM, Gavin via ntg-context wrote:
Hi Hans,
On Jan 5, 2023, at 12:39 AM, Hans Hagen via ntg-context
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 fixed in next upload (later today)
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Fabrice Couvreur
-
Gavin
-
Hans Hagen
-
Henning Hraban Ramm