diff options
Diffstat (limited to 'tex/context/base/file-job.lua')
-rw-r--r-- | tex/context/base/file-job.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/file-job.lua b/tex/context/base/file-job.lua index 6be901a9f..fda4f27da 100644 --- a/tex/context/base/file-job.lua +++ b/tex/context/base/file-job.lua @@ -771,7 +771,7 @@ function document.getargument(key,default) -- commands end function document.getfilename(i) -- commands - context(document.files[i] or "") + context(document.files[tonumber(i)] or "") end function commands.getcommandline() -- has to happen at the tex end in order to expand |