On 11/8/2012 1:14 PM, Andre Caldas wrote:
Hello, Hans!
I quoted this from your message:
local function toppath() [...] resolvers.toppath = topath
When you commited version "eb24ffd", the following bug was introduced:
There is a bug here. It should be resolvers.toppath = toppath (double "p" in the right side)
In your local copy I presume, not here.
Because of the bug (I presume), you removed the whole code. git diff -r eb24ffd tex/context/base/file-job.lua [...] @@ -553,22 +553,6 @@ function resolvers.jobs.currentenvironment() return topofstack(v_environment) en local done = { } local tolerant = false -- too messy, mkii user with the wrong sructure should adapt
-local function toppath() - local pathname = dirname(inputstack[#inputstack] or "") - if pathname == "" then - return "." - else - return pathname - end -end - -resolvers.toppath = topath
===> HERE IS THE BUG (right above) <===
- -resolvers.prefixes.toppath = function(str) - local fullname = cleanpath(joinpath(toppath(),str)) - return fullname -end
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 Gabs ----------------------------------------------------------------- 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 -----------------------------------------------------------------