8 Nov
2012
8 Nov
'12
4:30 p.m.
Are we giving up the feature? I was kind of using it already... :-(
you have a messed up system ... the code is in data-pre.lua
Indeed! :-) Sorry for the mess! Now, I have a bug at data-pre.lua. The variable inputstack is not defined there. Here is a fix: diff --git a/tex/context/base/data-pre.lua b/tex/context/base/data-pre.lua index 40b430b..3ef8c59 100644 --- a/tex/context/base/data-pre.lua +++ b/tex/context/base/data-pre.lua @@ -91,6 +91,7 @@ prefixes.home = function(str) end local function toppath() + local inputstack = resolvers.inputstack local pathname = dirname(inputstack[#inputstack] or "") if pathname == "" then return "."