Dear all,

The following example using module pgfplots does not work in an updated
context standalone nor with the texlive 2019 version.

%% Workaround for using tikz version in texlive 2019.
%% See https://github.com/pgf-tikz/pgf/issues/675
%\unprotect
%\def\XC@tgt@mod#1{#1}
%\def\XC@sdef#1#2{\edef#1{#2}}
%\protect

\setupcolors[state=start]
\usemodule[pgfplots]
\starttext
\starttikzpicture
  \startaxis
    \addplot3 [
      surf,
      shader=interp, % works with shader=flat
      samples=10,
      domain=0:1,
      ] {x^2*y};
  \stopaxis
\stoptikzpicture
\stoptext

The  error is the following (where line 19 contains "\stopaxis")
lua error       > lua error on line 19 in file [...]:
...781ce0dde776fb1556f32e/formats/luatex/lpdf-ini-macro.lua:887: pdf.obj():
object "type" missing

I'm attaching the test file, with the .the log and  ...-error.log files.
Please note that to reproduce the error with the context version of texlive
2019 the first lines must be uncommented due to a bug in the newer version
of tikz.

I suspect that the problem is with context because same file works with
context from texlive 2018 (which has the same pgfplots version) and an
equivalent latex version works with lualatex.

Could you suggest any workaround? If not I'll file a bug with pgfplots.

Thank you in advance,
LD
open source     > level 1, order 1, name '/home/luca/software/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
job             > passes > version mismatch: 1.3 <> 1.31
system          > 
system          > ConTeXt  ver: 2019.05.25 10:45 MKIV beta  fmt: 2019.5.27  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/home/luca/software/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 2, order 2, name '/home/luca/software/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'minimal_shading', input './minimal_shading', result 'minimal_shading'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name '/home/luca/Nextcloud/personal/tmpcontext/minimal_shading.tex'
colors          > 'rgb' color space is supported
colors          > 'cmyk' color space is supported
modules         > 'pgfplots' is loaded
open source     > level 3, order 4, name '/home/luca/software/context/tex/texmf-modules/tex/context/third/pgfplots/t-pgfplots.tex'
loading         > ConTeXt User Module / Pgfplots
open source     > level 4, order 5, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplots.revision.tex'
close source    > level 4, order 5, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplots.revision.tex'
modules         > 'tikz' is loaded
open source     > level 4, order 6, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/frontendlayer/t-tikz.tex'
loading         > ConTeXt User Module / tikz
open source     > level 5, order 7, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgf.tex'
loading         > ConTeXt User Module / pgf
open source     > level 6, order 8, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgfcor.tex'
loading         > ConTeXt User Module / pgfcor
open source     > level 7, order 9, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/systemlayer/t-pgfsys.tex'
loading         > ConTeXt User Module / pgfsys
open source     > level 8, order 10, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex'
loading         > ConTeXt User Module / pgfrcs
open source     > level 9, order 11, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfmod.tex'
loading         > ConTeXt User Module / pgfmodules
close source    > level 9, order 11, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfmod.tex'
open source     > level 9, order 12, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common.tex'
open source     > level 10, order 13, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common-lists.tex'
close source    > level 10, order 13, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common-lists.tex'
close source    > level 9, order 13, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common.tex'
open source     > level 9, order 14, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-context.def'
close source    > level 9, order 14, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-context.def'
open source     > level 9, order 15, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfrcs.code.tex'
close source    > level 9, order 15, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfrcs.code.tex'
system          > module wrapping error in 'pgfplots'
close source    > level 8, order 15, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex'
open source     > level 8, order 16, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys.code.tex'
open source     > level 9, order 17, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeys.code.tex'
open source     > level 10, order 18, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex'
close source    > level 10, order 18, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex'
close source    > level 9, order 18, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeys.code.tex'
open source     > level 9, order 19, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgf.cfg'
close source    > level 9, order 19, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgf.cfg'
Driver file for pgf: pgfsys-pdftex.def
open source     > level 9, order 20, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-pdftex.def'
open source     > level 10, order 21, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def'
close source    > level 10, order 21, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def'
close source    > level 9, order 21, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-pdftex.def'
open source     > level 9, order 22, name 'minimal_shading.pgf'
close source    > level 9, order 22, name 'minimal_shading.pgf'
close source    > level 8, order 22, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys.code.tex'
open source     > level 8, order 23, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex'
close source    > level 8, order 23, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex'
open source     > level 8, order 24, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex'
close source    > level 8, order 24, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex'
system          > module wrapping error in 'pgfplots'
close source    > level 7, order 24, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/systemlayer/t-pgfsys.tex'
open source     > level 7, order 25, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcore.code.tex'
open source     > level 8, order 26, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmath.code.tex'
open source     > level 9, order 27, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathcalc.code.tex'
open source     > level 10, order 28, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathutil.code.tex'
fonts           > beware: no fonts are loaded yet, using 'lm mono' in box
close source    > level 10, order 28, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathutil.code.tex'
open source     > level 10, order 29, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathparser.code.tex'
close source    > level 10, order 29, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathparser.code.tex'
open source     > level 10, order 30, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.code.tex'
open source     > level 11, order 31, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex'
close source    > level 11, order 31, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex'
open source     > level 11, order 32, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex'
close source    > level 11, order 32, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex'
open source     > level 11, order 33, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.random.code.tex'
close source    > level 11, order 33, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.random.code.tex'
open source     > level 11, order 34, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.comparison.code.tex'
close source    > level 11, order 34, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.comparison.code.tex'
open source     > level 11, order 35, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.base.code.tex'
close source    > level 11, order 35, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.base.code.tex'
open source     > level 11, order 36, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.round.code.tex'
close source    > level 11, order 36, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.round.code.tex'
open source     > level 11, order 37, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex'
close source    > level 11, order 37, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex'
open source     > level 11, order 38, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics.code.tex'
close source    > level 11, order 38, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics.code.tex'
close source    > level 10, order 38, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.code.tex'
close source    > level 9, order 38, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathcalc.code.tex'
open source     > level 9, order 39, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfloat.code.tex'
close source    > level 9, order 39, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfloat.code.tex'
close source    > level 8, order 39, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmath.code.tex'
open source     > level 8, order 40, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex'
close source    > level 8, order 40, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex'
open source     > level 8, order 41, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex'
close source    > level 8, order 41, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex'
open source     > level 8, order 42, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex'
close source    > level 8, order 42, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex'
open source     > level 8, order 43, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex'
close source    > level 8, order 43, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex'
open source     > level 8, order 44, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex'
close source    > level 8, order 44, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex'
open source     > level 8, order 45, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex'
close source    > level 8, order 45, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex'
open source     > level 8, order 46, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorequick.code.tex'
close source    > level 8, order 46, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorequick.code.tex'
open source     > level 8, order 47, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex'
close source    > level 8, order 47, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex'
open source     > level 8, order 48, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex'
close source    > level 8, order 48, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex'
open source     > level 8, order 49, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex'
close source    > level 8, order 49, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex'
open source     > level 8, order 50, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex'
close source    > level 8, order 50, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex'
open source     > level 8, order 51, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex'
open source     > level 9, order 52, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex'
close source    > level 9, order 52, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex'
close source    > level 8, order 52, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex'
open source     > level 8, order 53, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex'
close source    > level 8, order 53, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex'
open source     > level 8, order 54, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex'
close source    > level 8, order 54, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex'
open source     > level 8, order 55, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex'
close source    > level 8, order 55, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex'
open source     > level 8, order 56, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex'
close source    > level 8, order 56, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex'
close source    > level 7, order 56, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcore.code.tex'
system          > module wrapping error in 'pgfplots'
close source    > level 6, order 56, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgfcor.tex'
open source     > level 6, order 57, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/modules/pgfmoduleshapes.code.tex'
close source    > level 6, order 57, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/modules/pgfmoduleshapes.code.tex'
open source     > level 6, order 58, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/modules/pgfmoduleplot.code.tex'
close source    > level 6, order 58, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/modules/pgfmoduleplot.code.tex'
system          > module wrapping error in 'pgfplots'
close source    > level 5, order 58, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgf.tex'
open source     > level 5, order 59, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgffor.tex'
loading         > ConTeXt User Module / pgffor
open source     > level 6, order 60, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex'
loading         > ConTeXt User Module / pgfrcs
system          > module wrapping error in 'pgfplots'
close source    > level 6, order 60, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex'
open source     > level 6, order 61, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfkey.tex'
loading         > ConTeXt User Module / pgfkey
open source     > level 7, order 62, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeys.code.tex'
close source    > level 7, order 62, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeys.code.tex'
system          > module wrapping error in 'pgfplots'
close source    > level 6, order 62, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfkey.tex'
open source     > level 6, order 63, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgffor.code.tex'
open source     > level 7, order 64, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmath.code.tex'
close source    > level 7, order 64, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/math/pgfmath.code.tex'
close source    > level 6, order 64, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/utilities/pgffor.code.tex'
system          > module wrapping error in 'pgfplots'
close source    > level 5, order 64, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgffor.tex'
open source     > level 5, order 65, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex'
open source     > level 6, order 66, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/libraries/pgflibraryplothandlers.code.tex'
close source    > level 6, order 66, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/libraries/pgflibraryplothandlers.code.tex'
open source     > level 6, order 67, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/modules/pgfmodulematrix.code.tex'
close source    > level 6, order 67, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/modules/pgfmodulematrix.code.tex'
open source     > level 6, order 68, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex'
close source    > level 6, order 68, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex'
close source    > level 5, order 68, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex'
system          > module wrapping error in 'pgfplots'
close source    > level 4, order 68, name '/home/luca/software/context/tex/texmf-modules/tex/context/pgf/frontendlayer/t-tikz.tex'
open source     > level 4, order 69, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryplotmarks.code.tex'
open source     > level 5, order 70, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/libraries/pgflibraryplotmarks.code.tex'
close source    > level 5, order 70, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/libraries/pgflibraryplotmarks.code.tex'
close source    > level 4, order 70, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryplotmarks.code.tex'
open source     > level 4, order 71, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplots.code.tex'
open source     > level 5, order 72, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplotscore.code.tex'
Package pgfplots info on input line 124: Initializing with LUA version Lua 5.3
open source     > level 6, order 73, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/sys/pgfplotssysgeneric.code.tex'
Package pgfplots notification 'compat/show suggested version=true': document has been generated with the most recent feature set (\pgfplotsset{compat=\mostrecent }).

close source    > level 6, order 73, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/sys/pgfplotssysgeneric.code.tex'
close source    > level 5, order 73, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplotscore.code.tex'
open source     > level 5, order 74, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/libs/pgfplotslibrary.code.tex'
close source    > level 5, order 74, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/libs/pgfplotslibrary.code.tex'
open source     > level 5, order 75, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex'
open source     > level 6, order 76, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/libraries/pgflibraryfpu.code.tex'
close source    > level 6, order 76, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/libraries/pgflibraryfpu.code.tex'
Package pgfplots: loading complementary arithmetics for your pgf version...
open source     > level 6, order 77, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgflibraryfpu.code.tex'
close source    > level 6, order 77, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgflibraryfpu.code.tex'
open source     > level 6, order 78, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgfmathfloat.code.tex'
warning         > \count \c@pgfmathroundto@lastzeros is already defined (\relax it first)
close source    > level 6, order 78, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgfmathfloat.code.tex'
open source     > level 6, order 79, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex'
close source    > level 6, order 79, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex'
open source     > level 6, order 80, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgflibraryluamath.code.tex'
close source    > level 6, order 80, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgflibraryluamath.code.tex'
Package pgfplots info on input line 288: luamath library shipped with pgf 3.0.1 is outdated; using a substitute shipped with pgfplots
close source    > level 5, order 80, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex'
open source     > level 5, order 81, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.code.tex'
Package pgfplots info on input line 82: Found new luatex: initializing lua commands instead of write18 (shell-escape)
open source     > level 6, order 82, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsliststructure.code.tex'
close source    > level 6, order 82, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsliststructure.code.tex'
open source     > level 6, order 83, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsliststructureext.code.tex'
close source    > level 6, order 83, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsliststructureext.code.tex'
open source     > level 6, order 84, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsarray.code.tex'
close source    > level 6, order 84, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsarray.code.tex'
open source     > level 6, order 85, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsmatrix.code.tex'
close source    > level 6, order 85, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsmatrix.code.tex'
open source     > level 6, order 86, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/numtable/pgfplotstableshared.code.tex'
close source    > level 6, order 86, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/numtable/pgfplotstableshared.code.tex'
open source     > level 6, order 87, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsdeque.code.tex'
close source    > level 6, order 87, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsdeque.code.tex'
open source     > level 6, order 88, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsbinary.code.tex'
open source     > level 7, order 89, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsbinary.data.code.tex'
close source    > level 7, order 89, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsbinary.data.code.tex'
close source    > level 6, order 89, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsbinary.code.tex'
open source     > level 6, order 90, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.verb.code.tex'
close source    > level 6, order 90, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.verb.code.tex'
open source     > level 6, order 91, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/libs/pgflibrarypgfplots.surfshading.code.tex'
open source     > level 7, order 92, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-pdftex.def'
close source    > level 7, order 92, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-pdftex.def'
close source    > level 6, order 92, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/libs/pgflibrarypgfplots.surfshading.code.tex'
close source    > level 5, order 92, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.code.tex'
open source     > level 5, order 93, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotscolormap.code.tex'
open source     > level 6, order 94, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotscolor.code.tex'
close source    > level 6, order 94, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotscolor.code.tex'
close source    > level 5, order 94, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotscolormap.code.tex'
open source     > level 5, order 95, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplotsstackedplots.code.tex'
close source    > level 5, order 95, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplotsstackedplots.code.tex'
open source     > level 5, order 96, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplotsplothandlers.code.tex'
open source     > level 6, order 97, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex'
open source     > level 7, order 98, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplotsmeshplotimage.code.tex'
close source    > level 7, order 98, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplotsmeshplotimage.code.tex'
close source    > level 6, order 98, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplotsmeshplothandler.code.tex'
close source    > level 5, order 98, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplotsplothandlers.code.tex'
open source     > level 5, order 99, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplots.scaling.code.tex'
close source    > level 5, order 99, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplots.scaling.code.tex'
open source     > level 5, order 100, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplotscoordprocessing.code.tex'
close source    > level 5, order 100, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplotscoordprocessing.code.tex'
open source     > level 5, order 101, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplots.errorbars.code.tex'
close source    > level 5, order 101, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplots.errorbars.code.tex'
open source     > level 5, order 102, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplots.markers.code.tex'
close source    > level 5, order 102, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplots.markers.code.tex'
open source     > level 5, order 103, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplotsticks.code.tex'
close source    > level 5, order 103, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplotsticks.code.tex'
open source     > level 5, order 104, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplots.paths.code.tex'
close source    > level 5, order 104, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplots.paths.code.tex'
open source     > level 5, order 105, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecorations.code.tex'
open source     > level 6, order 106, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/modules/pgfmoduledecorations.code.tex'
close source    > level 6, order 106, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/modules/pgfmoduledecorations.code.tex'
close source    > level 5, order 106, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecorations.code.tex'
open source     > level 5, order 107, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecorations.pathmorphing.code.tex'
open source     > level 6, order 108, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/libraries/decorations/pgflibrarydecorations.pathmorphing.code.tex'
close source    > level 6, order 108, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/libraries/decorations/pgflibrarydecorations.pathmorphing.code.tex'
close source    > level 5, order 108, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecorations.pathmorphing.code.tex'
open source     > level 5, order 109, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecorations.pathreplacing.code.tex'
open source     > level 6, order 110, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/libraries/decorations/pgflibrarydecorations.pathreplacing.code.tex'
close source    > level 6, order 110, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/libraries/decorations/pgflibrarydecorations.pathreplacing.code.tex'
close source    > level 5, order 110, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarydecorations.pathreplacing.code.tex'
close source    > level 4, order 110, name '/home/luca/software/context/tex/texmf-modules/tex/generic/pgfplots/pgfplots.code.tex'
system          > module wrapping error in 'pgfplots'
close source    > level 3, order 110, name '/home/luca/software/context/tex/texmf-modules/tex/context/third/pgfplots/t-pgfplots.tex'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded

lua error       > lua error on line 19 in file /home/luca/Nextcloud/personal/tmpcontext/minimal_shading.tex:

...781ce0dde776fb1556f32e/formats/luatex/lpdf-ini-macro.lua:887: pdf.obj(): object "type" missing

 9     \usemodule[pgfplots]
10     \starttext
11     \starttikzpicture
12       \startaxis
13         \addplot3 [
14           surf,
15           shader=interp,
16           samples=10,
17           domain=0:1,
18           ] {x^2*y};
19 >>    \stopaxis
20     \stoptikzpicture
21     \stoptext
22     
23     %%% local variables:
24     %%% mode: context
25     %%% TeX-master: t
26     %%% end:
27     

return {
 ["filename"]="/home/luca/Nextcloud/personal/tmpcontext/minimal_shading.tex",
 ["lastcontext"]="\
\\pgfplotssys@do@surfshading@fillpaths ...] /Shading \\pgfplots@loc@TMPa \\space 0 R >>}\
                                                  \\edef #1{/pgfpatPlotsurfac...\
\\pgfplotslibrarysurfdraw@sys ...do@surfshading@fillpaths \\pgfplots@loc@TMPa \
                                                  \\global \\let \\pgfplots@glo...\
\\pgfplotslibrarysurfdraw ...il@empty \\else \\pgfplotslibrarysurfdraw@sys \
                                                  \\fi \
\\pgfplotslibrarysurfdrawinpicture ...ots@@protocolsizes \\pgfplotslibrarysurfdraw \
                                                  \\endgroup }\\endgroup \
\\pgf@plotstreamend ...streamend \\pgfplotslibrarysurfdrawinpicture \
                                                  \\fi \
\\pgfplots@coord@stream@finalize@storedcoords@START ...expandafter {\\pgfplots@stored@current@data }\
                                                  \\fi \\xdef \\pgfplotlastpoin...\
...\
l.19   \\stopaxis\
               ",
 ["lastluaerror"]="...781ce0dde776fb1556f32e/formats/luatex/lpdf-ini-macro.lua:887: pdf.obj(): object \"type\" missing",
 ["lasttexerror"]="?",
 ["linenumber"]=19,
 ["luaerrorline"]="887",
 ["offset"]=10,
}
%% Workaround for using tikz version in texlive 2019.
%% See https://github.com/pgf-tikz/pgf/issues/675
%\unprotect
%\def\XC@tgt@mod#1{#1}
%\def\XC@sdef#1#2{\edef#1{#2}}
%\protect

\setupcolors[state=start]
\usemodule[pgfplots]
\starttext
\starttikzpicture
  \startaxis
    \addplot3 [
      surf,
      shader=interp,  % works with shader=flat
      samples=10,
      domain=0:1,
      ] {x^2*y};
  \stopaxis
\stoptikzpicture
\stoptext

%%% local variables:
%%% mode: context
%%% TeX-master: t
%%% end:
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to