Hi,
ConTeXt Standalone[1] sets LUAINPUTS to:
.:{....}/tex/{context,plain/base,generic}:{...}/scripts/context/lua
while the recent version of pgfplots, stores a helper file pgfplots.lua at
texmf-modules/scripts/lua/pgfplots/pgfplots.lua
Therefore compiling a context document with pgfplots results in the
following error:
! LuaTeX error <\directlua >:1: module 'pgfplots.lua' not found:
At first glance, ConTeXt's value of LUAINPUTS seems reasonable: Lua files
that are part of ConTeXt macro package should be stored in either
tex/context or scripts/context; Lua files that are part of modules that
can be used by all macro packages (like pgf and pgfplots) should be stored
in tex/generic.
pgfplots assumes that files that are part of scripts/lua will be searched
by ALL macro packages. This appears to be incorrect. According the the TDS
(http://www.tex.ac.uk/tex-archive/tds/tds.html#Scripts) the scripts
directory is meant for "platform-independent executables".
The pgfplots.lua file is not a platform-independent executable. It is
clearly meant to be used by the pgfplots package. Won't it be better to
place it in tex/generic subdirectory so that it can be searched by all
macro packages?
Thanks,
Aditya
[1]: http://wiki.contextgarden.net/ConTeXt_Standalone
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Pgfplots-features mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pgfplots-features