diff options
Diffstat (limited to 'tex/context/base/data-met.lua')
-rw-r--r-- | tex/context/base/data-met.lua | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/tex/context/base/data-met.lua b/tex/context/base/data-met.lua index ee9de3fd9..96da70bfd 100644 --- a/tex/context/base/data-met.lua +++ b/tex/context/base/data-met.lua @@ -36,7 +36,7 @@ local function splitmethod(filename) -- todo: filetype in specification end filename = file.collapsepath(filename,".") -- hm, we should keep ./ in some cases - -- filename = gsub(filename,"^%./",getcurrentdir().."/") -- we will merge dir.expandname and collapse some day +-- filename = gsub(filename,"^%./",getcurrentdir().."/") -- we will merge dir.expandname and collapse some day if not find(filename,"://") then return { scheme = "file", path = filename, original = filename, filename = filename } @@ -49,16 +49,6 @@ local function splitmethod(filename) -- todo: filetype in specification end end --- local function splitmethod(filename) -- todo: filetype in specification --- if not filename then --- return { scheme = "unknown", original = filename } --- end --- if type(filename) == "table" then --- return filename -- already split --- end --- return url.hashed(filename) --- end - resolvers.splitmethod = splitmethod -- bad name but ok -- the second argument is always analyzed (saves time later on) and the original |