diff options
author | Marius <mariausol@gmail.com> | 2012-08-09 01:00:13 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-08-09 01:00:13 +0300 |
commit | 343077218254bccdd7e518c5cc74d473d0bbf605 (patch) | |
tree | b3b58ac303f7513cb39e1695fb8f29e8fd960519 /tex/context/base/core-ctx.lua | |
parent | e3f2891a6167e2efe5b9cee3b374eec103cbb526 (diff) | |
download | context-343077218254bccdd7e518c5cc74d473d0bbf605.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) |