diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-03-09 20:15:05 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-03-09 20:15:05 +0100 |
commit | dc98ffdc842271d05903846b460fab90d4d83739 (patch) | |
tree | 49603cd805408ebdde3a7eafc59c40279dc7e9ad /tex/context/base/file-job.lua | |
parent | 08128a9710f7a34e16f7487b3bccfe7feadb36f1 (diff) | |
download | context-dc98ffdc842271d05903846b460fab90d4d83739.tar.gz |
2015-03-09 19:29:00
Diffstat (limited to 'tex/context/base/file-job.lua')
-rw-r--r-- | tex/context/base/file-job.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tex/context/base/file-job.lua b/tex/context/base/file-job.lua index 0d1986463..ff99aa651 100644 --- a/tex/context/base/file-job.lua +++ b/tex/context/base/file-job.lua @@ -88,10 +88,12 @@ function commands.locatefilepath(name) end function commands.usepath(paths) + report_jobfiles("using path: %s",paths) registerextrapath(paths) end function commands.usesubpath(subpaths) + report_jobfiles("using subpath: %s",subpaths) registerextrapath(nil,subpaths) end @@ -773,6 +775,10 @@ function document.getargument(key,default) -- commands context(v or default or "") end +function document.setargument(key,value) + document.arguments[key] = value -- only strings +end + function document.getfilename(i) -- commands context(document.files[tonumber(i)] or "") end |