summaryrefslogtreecommitdiff
path: root/tex/context/base/file-job.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-11-26 19:00:25 +0200
committerMarius <mariausol@gmail.com>2012-11-26 19:00:25 +0200
commit48c4609c92a6e0cbbbd8c5e894d2e11b081e032f (patch)
tree6fd604c2644afd46971a42f42ce3e1a276c19883 /tex/context/base/file-job.lua
parent7bd57701b696956d241d5f3fec8cc6288082cf5c (diff)
downloadcontext-48c4609c92a6e0cbbbd8c5e894d2e11b081e032f.tar.gz
beta 2012.11.26 13:31
Diffstat (limited to 'tex/context/base/file-job.lua')
-rw-r--r--tex/context/base/file-job.lua2
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