Re: [NTG-context] pgfplots example compile error
Thanks. Jason Lee Date: Tue, 16 Oct 2012 23:01:39 -0400 From: adit...@umich.edu To: ntg-context@ntg.nl Subject: Re: [NTG-context] pgfplots example compile error On Wed, 17 Oct 2012, LeeJason wrote: Dear all, When I compile the following simple pgfplots example \usemodule[pgfplots] [...] LuaTeX error \directlua :1: module 'pgfplots.lua' not found: [...] I use the latest beta version of ConTeXt minimals. I don't know if this is a bug. This is because pgfplots is storing the lua file in a directory that is not part of the ConTeXt search tree. I reported this to the pgfplots mailing list about a week ago, and it will be fixed in the next release of pgfplots. http://sourceforge.net/mailarchive/message.php?msg_id=29944181 For the time being, you can simply copy the pgfplots.lua file to the current working directory. Aditya ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] pgfplots example compile error
Dear all, When I compile the following simple pgfplots example \usemodule[pgfplots] \pgfplotsset{compat=1.3} \starttext Using Con{\TeX}t. \starttikzpicture \startloglogaxis \addplot coordinates { (1,1) (16,16) (32,64) }; \stoploglogaxis \stoptikzpicture \stoptext an error occured: ― 1980 LuaTeX error \directlua :1: module 'pgfplots.lua' not found: no field package.preload['pgfplots.lua'] no file '.\pgfplots\lua.dll' no file 'D:\context\tex\texmf-mswin\bin\lib\lua\pgfplots\lua.dll' no file 'D:\context\tex\texmf-mswin\bin\lib\lua\loadall.dll' no file '.\pgfplots.dll' no file 'D:\context\tex\texmf-mswin\bin\lib\lua\pgfplots.dll' no file 'D:\context\tex\texmf-mswin\bin\lib\lua\loadall.dll' stack traceback: [C]: in function 'require' \directlua :1: in main chunk. system tex error on line 1980 in file D:/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.code.tex: LuaTeX error ... 1970 \catcode`\=12 1971 \gdef\pgfplotsDQ{}% 1972 \catcode`\|=12 1973 \gdef\pgfplotsVERTBAR{|}% 1974 \catcode`\#=12 1975 \gdef\pgfplotsHASH{#}% 1976 \catcode`\%=12 \gdef\pgfplotsPERCENT{%}} 1977 1978 \pgfutil@IfUndefined{directlua}{}{% 1979 \directlua{require(\pgfplotsDQ pgfplots.lua\pgfplotsDQ)}% 1980 }% 1981 1982 \input pgfplotsliststructure.code.tex 1983 \input pgfplotsliststructureext.code.tex 1984 \input pgfplotsarray.code.tex 1985 \input pgfplotsmatrix.code.tex 1986 \input pgfplotstableshared.code.tex 1987 \input pgfplotsdeque.code.tex 1988 \input pgfplotsbinary.code.tex 1989 \input pgfplotsutil.verb.code.tex 1990 argument ...gfplotsDQ pgfplots.lua\pgfplotsDQ )} \pgfutil@secondoftwo #1#2-#2 l.1980 } % I use the latest beta version of ConTeXt minimals. I don't know if this is a bug. Best regards, Jason Lee ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pgfplots example compile error
On Wed, 17 Oct 2012, LeeJason wrote: Dear all, When I compile the following simple pgfplots example \usemodule[pgfplots] [...] LuaTeX error \directlua :1: module 'pgfplots.lua' not found: [...] I use the latest beta version of ConTeXt minimals. I don't know if this is a bug. This is because pgfplots is storing the lua file in a directory that is not part of the ConTeXt search tree. I reported this to the pgfplots mailing list about a week ago, and it will be fixed in the next release of pgfplots. http://sourceforge.net/mailarchive/message.php?msg_id=29944181 For the time being, you can simply copy the pgfplots.lua file to the current working directory. Aditya ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___