diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-03-13 11:41:41 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-03-13 11:41:41 +0100 |
commit | 7ab18e79ca56e0a86098536f4800fce0a75136d9 (patch) | |
tree | 3d5e0b583e031ce396079c6cf56db3cbc0451f31 /tex/context/base/mkiv/file-job.lua | |
parent | 07b53cf6e6c57bf8d8bfc3b222b8a2454b84fa3f (diff) | |
download | context-7ab18e79ca56e0a86098536f4800fce0a75136d9.tar.gz |
2021-03-13 11:21:00
Diffstat (limited to 'tex/context/base/mkiv/file-job.lua')
-rw-r--r-- | tex/context/base/mkiv/file-job.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/file-job.lua b/tex/context/base/mkiv/file-job.lua index 97e223387..0d26cdfb2 100644 --- a/tex/context/base/mkiv/file-job.lua +++ b/tex/context/base/mkiv/file-job.lua @@ -49,6 +49,8 @@ local cleanpath = resolvers.cleanpath local toppath = resolvers.toppath local resolveprefix = resolvers.resolve +local currentfile = luatex.currentfile + local hasscheme = url.hasscheme local jobresolvers = resolvers.jobs @@ -791,7 +793,8 @@ end local function autoname(name) if name == "*" then - name = nameonly(toppath() or name) + -- name = nameonly(toppath() or name) + name = nameonly(currentfile() or name) end return name end |