![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Mon, 15 Oct 2012, Hans Hagen wrote:
On 15-10-2012 23:16, Aditya Mahajan wrote:
Hi,
When compiling the format in the new beta, I get the following error:
weird: I've added this to core-job
local function toppath() local pathname = dirname(inputstack[#inputstack] or "") if pathname == "" then return "." else return pathname end end
resolvers.toppath = topath
resolvers.prefixes.toppath = function(str) return cleanpath(joinpath(toppath(),str)) end
local function process(what,name) local depth = #typestack local process -- name = resolvers.resolve(name)
but that should be harmless. (On my machine the format is made.)
What if you comment
name = resolvers.resolve(name)
Same error. But if I comment the definition of resolvers.prefixes.toppath, the error goes away. Aditya