On 23-10-2012 16:58, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
On Tue, 23 Oct 2012 16:53:01 +0200, Hans Hagen <pra...@wxs.nl> wrote:
On 23-10-2012 16:37, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
resolvers > libraries > ! checking for "Test.lua" using "lua" path
"d:/Lukas/Lua/?.lua"
"
in the output log but "d:\Lukas\Lua\Test.lua" is not found here (?!).
So - ?
no clue ... maybe an error in test.lua
.... Have you seen the content of "Test.lua"? It just prints some text...
When I downgraded Ctx to the previous installed version, it works...
When I make
e:\tmp\whatever.lua (current path)
e:\tmp\whatever\something.lua
And run
\starttext
\enabletrackers[resolvers.libraries]
\startluacode
print("LUAINPUTS",os.getenv("LUAINPUTS"))
require("whatever") ;
require("something") ;
\stopluacode
\stoptext
i get
LUAINPUTS e:/tmp/whatever
resolvers > libraries > ! locating "whatever" as "whatever.lua"
using formats "texlua"
resolvers > libraries > ! checking for "whatever.lua"' using
format "tex"
resolvers > libraries > ! lib "whatever.lua" located on "whatever.lua"
whatever
resolvers > libraries > ! locating "something" as "something.lua"
using formats "texlua"
resolvers > libraries > ! checking for "something.lua"' using
format "tex"
resolvers > libraries > ! checking for "something.lua"' using
format "lua"
resolvers > libraries > ! lib "something.lua" located on
"e:/tmp/whatever/something.lua"
something
so it must be something with your path spec
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________