ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* pgfplots example compile error
@ 2012-10-17  2:55 LeeJason
  2012-10-17  3:01 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: LeeJason @ 2012-10-17  2:55 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 2047 bytes --]


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
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 5847 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: pgfplots example compile error
  2012-10-17  2:55 pgfplots example compile error LeeJason
@ 2012-10-17  3:01 ` Aditya Mahajan
  2012-10-17  8:25   ` LeeJason
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2012-10-17  3:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: pgfplots example compile error
  2012-10-17  3:01 ` Aditya Mahajan
@ 2012-10-17  8:25   ` LeeJason
  0 siblings, 0 replies; 3+ messages in thread
From: LeeJason @ 2012-10-17  8:25 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1512 bytes --]


Thanks.

Jason Lee

> Date: Tue, 16 Oct 2012 23:01:39 -0400
> From: adityam@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
> ___________________________________________________________________________________
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 2063 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-17  8:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-17  2:55 pgfplots example compile error LeeJason
2012-10-17  3:01 ` Aditya Mahajan
2012-10-17  8:25   ` LeeJason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).