diff options
author | Marius <mariausol@gmail.com> | 2012-06-05 23:00:15 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-06-05 23:00:15 +0300 |
commit | 7eed65970869ede47697d448e88fa4722418b7f3 (patch) | |
tree | 923cbee85f394d0613817412b9188cfb9810d030 /tex/context/base/file-job.lua | |
parent | 6bfe227f2a770f059502000d4c7f20d5d8ef4024 (diff) | |
download | context-7eed65970869ede47697d448e88fa4722418b7f3.tar.gz |
beta 2012.06.05 21:45
Diffstat (limited to 'tex/context/base/file-job.lua')
-rw-r--r-- | tex/context/base/file-job.lua | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/tex/context/base/file-job.lua b/tex/context/base/file-job.lua index f210f444d..dc51138f3 100644 --- a/tex/context/base/file-job.lua +++ b/tex/context/base/file-job.lua @@ -11,25 +11,24 @@ if not modules then modules = { } end modules ['file-job'] = { local format, gsub, match, find = string.format, string.gsub, string.match, string.find local insert, remove, concat = table.insert, table.remove, table.concat +local validstring = string.valid local commands, resolvers, context = commands, resolvers, context -local settings_to_array = utilities.parsers.settings_to_array -local write_nl = texio.write_nl - local trace_jobfiles = false trackers.register("system.jobfiles", function(v) trace_jobfiles = v end) local report_jobfiles = logs.reporter("system","jobfiles") -local texsetcount = tex.setcount -local elements = interfaces.elements -local constants = interfaces.constants -local variables = interfaces.variables -local logsnewline = logs.newline -local logspushtarget = logs.pushtarget -local logspoptarget = logs.poptarget - -local allocate = utilities.storage.allocate +local texsetcount = tex.setcount +local elements = interfaces.elements +local constants = interfaces.constants +local variables = interfaces.variables +local logsnewline = logs.newline +local logspushtarget = logs.pushtarget +local logspoptarget = logs.poptarget +local settings_to_array = utilities.parsers.settings_to_array +local write_nl = texio.write_nl +local allocate = utilities.storage.allocate local v_outer = variables.outer local v_text = variables.text @@ -744,10 +743,6 @@ function document.getfilename(i) -- commands context(document.files[i] or "") end -local function validstring(s) - return type(s) == "string" and s ~= "" and s or nil -end - function commands.getcommandline() -- has to happen at the tex end in order to expand -- the document[arguments|files] tables are copies |