summaryrefslogtreecommitdiff
path: root/tex/context/base/file-job.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-10-16 11:20:13 +0300
committerMarius <mariausol@gmail.com>2012-10-16 11:20:13 +0300
commit8089e724a1579edfeb779096c1ed343441e40f22 (patch)
treea8b3efa2886e161f19650069dcea87a0752e3749 /tex/context/base/file-job.lua
parent318fe586fd3be6e3d6ec03a6f02181fc8da906bd (diff)
downloadcontext-8089e724a1579edfeb779096c1ed343441e40f22.tar.gz
beta 2012.10.16 09:52
Diffstat (limited to 'tex/context/base/file-job.lua')
-rw-r--r--tex/context/base/file-job.lua13
1 files changed, 6 insertions, 7 deletions
diff --git a/tex/context/base/file-job.lua b/tex/context/base/file-job.lua
index bced0b4d2..ee20e2bcc 100644
--- a/tex/context/base/file-job.lua
+++ b/tex/context/base/file-job.lua
@@ -177,7 +177,7 @@ end
--
local action = function(name,foundname) input(foundname) end
-local failure = function(name,foundname) end
+local failure = function(name,foundname) report_jobfiles("unknown tex file %q",name) end
local function usetexfile(name,onlyonce,notext)
startprocessing(name,notext)
@@ -192,7 +192,7 @@ local function usetexfile(name,onlyonce,notext)
end
local action = function(name,foundname) dofile(foundname) end
-local failure = function(name,foundname) end
+local failure = function(name,foundname) report_jobfiles("unknown lua file %q",name) end
local function useluafile(name,onlyonce,notext)
uselibrary {
@@ -205,7 +205,7 @@ local function useluafile(name,onlyonce,notext)
end
local action = function(name,foundname) dofile(foundname) end
-local failure = function(name,foundname) end
+local failure = function(name,foundname) report_jobfiles("unknown cld file %q",name) end
local function usecldfile(name,onlyonce,notext)
startprocessing(name,notext)
@@ -220,7 +220,7 @@ local function usecldfile(name,onlyonce,notext)
end
local action = function(name,foundname) context.xmlprocess(foundname,"main","") end
-local failure = function(name,foundname) end
+local failure = function(name,foundname) report_jobfiles("unknown xml file %q",name) end
local function usexmlfile(name,onlyonce,notext)
startprocessing(name,notext)
@@ -562,11 +562,10 @@ local function toppath()
end
end
-resolvers.toppath = topath
+resolvers.toppath = toppath
resolvers.prefixes.toppath = function(str)
- local fullname = cleanpath(joinpath(toppath(),str))
- return fullname
+ return cleanpath(joinpath(toppath(),str))
end
local function process(what,name)