On Tue, 20 Nov 2012, Thomas Weißschuh wrote: > Hi, > > while trying to use the module pgfplots from latest ConTeXt minimals I > encountered the following error: > > [..] > )) (/home/t-8ch/Projekte/context/minimals/tex/texmf-modules/tex/generic/pgfplots/libs/pgfplotslibrary.code.tex) (/home/t-8ch/Projekte/context/minimals/tex/texmf-modules/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex (/home/t-8ch/Projekte/context/minimals/tex/texmf-modules/tex/generic/pgf/libraries/pgflibraryfpu.code.tex)) (/home/t-8ch/Projekte/context/minimals/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.codetex > ! LuaTeX error <\directlua >:1: module 'pgfplots.lua' not found: > no field package.preload['pgfplots.lua'] > no file './pgfplots/lua.so' > no file '/usr/local/lib/lua/5.1/pgfplots/lua.so' > no file '/usr/local/lib/lua/5.1/loadall.so' > no file './pgfplots.so' > no file '/usr/local/lib/lua/5.1/pgfplots.so' > no file '/usr/local/lib/lua/5.1/loadall.so' > stack traceback: > [C]: in function 'require' > <\directlua >:1: in main chunk. > > ConTeXt version: 2012.11.16 23:51 See: http://sourceforge.net/mailarchive/message.php?msg_id=29944181 > This could be fixed by removing the suffix '.lua' from the argument > to `require(pgfplots.lua)` in line 1979 of the file > tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.code.tex > > diff --git a/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.code.tex.old b/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.code.tex > index 0ef2cb0..6d504a7 100644 > --- a/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.code.tex.old > +++ b/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.code.tex > @@ -1976,7 +1976,7 @@ > \catcode`\%=12 \gdef\pgfplotsPERCENT{%}} > > \pgfutil@IfUndefined{directlua}{}{% > - \directlua{require(\pgfplotsDQ pgfplots.lua\pgfplotsDQ)}% > + \directlua{require(\pgfplotsDQ pgfplots\pgfplotsDQ)}% > }% > > % swaps the content of two macros > > Is this report sufficient or should I also contact pgfplots upstream? This will be fixed in the next release of pgfplots. Aditya