diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-08-08 23:45:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-08-08 23:45:00 +0200 |
commit | 994ef322c591f7cae9b672844e96482723b89b4b (patch) | |
tree | e7951df9c461e844045680dc7d8baf2c1a9b19c7 /tex/context/base/core-ctx.lua | |
parent | 83efdae0bed9228d31513e0555e3229250089f14 (diff) | |
download | context-994ef322c591f7cae9b672844e96482723b89b4b.tar.gz |
beta 2012.08.08 23:45
Diffstat (limited to 'tex/context/base/core-ctx.lua')
-rw-r--r-- | tex/context/base/core-ctx.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/core-ctx.lua b/tex/context/base/core-ctx.lua index 1f673d17e..0dfb21ce9 100644 --- a/tex/context/base/core-ctx.lua +++ b/tex/context/base/core-ctx.lua @@ -54,9 +54,9 @@ table.setmetatableindex(ctxrunner.prepfiles,dontpreparefile) local function filtered(str,method) -- in resolvers? str = tostring(str) - if method == 'name' then str = file.removesuffix(file.basename(str)) + if method == 'name' then str = file.nameonly(str) elseif method == 'path' then str = file.dirname(str) - elseif method == 'suffix' then str = file.extname(str) + elseif method == 'suffix' then str = file.suffix(str) elseif method == 'nosuffix' then str = file.removesuffix(str) elseif method == 'nopath' then str = file.basename(str) elseif method == 'base' then str = file.basename(str) |