On Tue, 23 Oct 2012 16:13:31 +0200, Hans Hagen
On 23-10-2012 16:14, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
my "trick" with LUAINPUTS system variable stopped working after the today's Ctx update.
afaik nothing changed; best run with \enabletrackers[resolvers.libraries]
Hans
I attached the log (and all files). Here's the output (trying to require "Test.lua" now, which is in "d:\Lukas\Lua\Test.lua"): " C:\Lukas\Jobs\HubI-ISK.DSP\SO_210\Statics.Tx>t.mkiv C:\Lukas\Jobs\HubI-ISK.DSP\SO_210\Statics.Tx>set PATH=c:\ConTeXt\tex\texmf-mswin\bin;C:\Program Files\Windows Resource Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Autodesk Shared\;C:\PROGRA~1\COMMON~1\AUTODE~1\GIS\IMPORT~1\1.0;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Lua\5.1;C:\Program Files\Lua\5.1\clibs;C:\Lukas\..\Programs.Con\Ponton;C:\Program Files\Pandoc\bin;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Tes seract-OCR;C:\Lukas/Bat;C:\Lukas/../Programs.Con;;C:\PROGRA~1\COMMON~1\AUTODE~1 C:\Lukas\Jobs\HubI-ISK.DSP\SO_210\Statics.Tx>set LUAINPUTS=;d:/Lukas/Lua/?.lua mtx-context | run 1: luatex --fmt="c:/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en" --interaction="nonstopmode" --jobname="t" --lua="c:/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en.lui" --no-parse-first-line --c:FILE="t.mkiv" --c:currentrun=1 --c:fulljobname="C:/Lukas/Jobs/HubI-ISK.DSP/SO_210/Statics.Tx/t.mkiv" --c:halt-on-error --c:input="C:/Lukas/Jobs/HubI-ISK.DSP/SO_210/Statics.Tx/t.mkiv" --c:kindofrun=1 --c:mode="t" --c:nonstopmode "cont-yes.mkiv" This is LuaTeX, Version beta-0.70.2-2012101522 (TeX Live 2012/W32TeX) \write18 enabled. (c:/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2012.10.22 23:51 MKIV fmt: 2012.10.23 int: english/english system > cont-new.mkiv loaded (c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > files > jobname: t, input: C:/Lukas/Jobs/HubI-ISK.DSP/SO_210/Statics.Tx/t.mkiv, result: t fonts > latin modern fonts are not preloaded languages > language en is active (C:/Lukas/Jobs/HubI-ISK.DSP/SO_210/Statics.Tx/t.mkiv resolvers > libraries > ! locating "Test" as "Test.lua" using formats "texlua" resolvers > libraries > ! checking for "Test.lua"' using format "tex" resolvers > libraries > ! checking for "Test.lua"' using format "lua" resolvers > libraries > ! locating "Test" as "Test.dll" using formats "lib" resolvers > libraries > ! checking for "Test.dll"' using format "lib" resolvers > libraries > ! locating "Test" as "Test.lua" on "lua" paths resolvers > libraries > ! checking for "Test.lua" using "lua" path "." resolvers > libraries > ! checking for "Test.lua" using "lua" path "C:/Documents and Settings/LPR/texmf/tex/context/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-project/tex/context/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-fonts/tex/context/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-local/tex/context/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-modules/tex/context/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-context/tex/context/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-mswin/tex/context/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf/tex/context/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "C:/Documents and Settings/LPR/texmf/tex/plain/base/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-project/tex/plain/base/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-fonts/tex/plain/base/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-local/tex/plain/base/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-modules/tex/plain/base/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-context/tex/plain/base/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-mswin/tex/plain/base/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf/tex/plain/base/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "C:/Documents and Settings/LPR/texmf/tex/generic/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-project/tex/generic/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-fonts/tex/generic/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-local/tex/generic/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-modules/tex/generic/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-context/tex/generic/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-mswin/tex/generic/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf/tex/generic/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "d:/Lukas/Lua/?.lua" resolvers > libraries > ! locating "Test" as "Test.lua" on "lua" paths resolvers > libraries > ! checking for "Test.lua" using "lua" path "." resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-mswin/bin/lib/context/lua/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-mswin/bin/lib/luatex/lua/" resolvers > libraries > ! checking for "Test.lua" using "lua" path "c:/ConTeXt/tex/texmf-mswin/bin/lib/lua/" resolvers > libraries > ! locating "Test" as "Test.dll" on "lib" paths resolvers > libraries > ! checking for "Test.dll" using "lib" path "." resolvers > libraries > ! checking for "Test.dll" using "lib" path "c:/ConTeXt/tex/texmf-mswin/bin/lib/context/lua/" resolvers > libraries > ! checking for "Test.dll" using "lib" path "c:/ConTeXt/tex/texmf-mswin/bin/lib/luatex/lua/" resolvers > libraries > ! checking for "Test.dll" using "lib" path "c:/ConTeXt/tex/texmf-mswin/bin/lib/lua/" resolvers > libraries > ! locating "Test" using normal loader resolvers > libraries > ? unable to locate library "Test" ! LuaTeX error <main ctx instance>:2: module 'Test' not found: no field package.preload['Test'] no file 'Test.dll' no file 'c:\Program Files\Lua\5.1\clibs\Test.dll' no file 'C:\Lukas\Lua\Test.dll' stack traceback: [C]: in function 'require' <main ctx instance>:2: in main chunk. system > tex > error on line 5 in file C:/Lukas/Jobs/HubI-ISK.DSP/SO_210/Statics.Tx/t.mkiv: LuaTeX error ... 1 \enabletrackers[resolvers.libraries] 2 3 \startluacode 4 require "Test" 5 >> \stopluacode 6 7 \starttext 8 A 9 \stoptext 10 } require "Test"...\zerocount { \luat_start_lua_code_indeed ...ua \zerocount {#1}} " Weird that there is line: " 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 - ? Lukas -- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038