summaryrefslogtreecommitdiff
path: root/tex/context/base/publ-dat.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2014-10-27 16:15:04 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2014-10-27 16:15:04 +0100
commit9dc96ff2030bae02f3116509a752d7949fd8b5c3 (patch)
treed822091896192c1fb49748f7d75eecf7a4fc215a /tex/context/base/publ-dat.lua
parentf09a83056cb0fba2e79228858f5e86f2d297e3ca (diff)
downloadcontext-9dc96ff2030bae02f3116509a752d7949fd8b5c3.tar.gz
2014-10-27 15:18:00
Diffstat (limited to 'tex/context/base/publ-dat.lua')
-rw-r--r--tex/context/base/publ-dat.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/publ-dat.lua b/tex/context/base/publ-dat.lua
index 544528405..a9007fa9c 100644
--- a/tex/context/base/publ-dat.lua
+++ b/tex/context/base/publ-dat.lua
@@ -126,12 +126,12 @@ local specifications = setmetatableindex(function(t,name)
return default -- initializer
end
local filename = formatters["publ-imp-%s.lua"](name)
- local fullname = resolvers.findfile(fullname) or ""
+ local fullname = resolvers.findfile(filename) or ""
if fullname == "" then
report("no data definition file %a for %a",filename,name)
return default
end
- local specification = table.load(filename)
+ local specification = table.load(fullname)
if not specification then
report("invalid data definition file %a for %a",fullname,name)
return default