summaryrefslogtreecommitdiff
path: root/tex/context/base/core-ctx.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-ctx.lua')
-rw-r--r--tex/context/base/core-ctx.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/tex/context/base/core-ctx.lua b/tex/context/base/core-ctx.lua
index 4dbff3663..f9920d4c4 100644
--- a/tex/context/base/core-ctx.lua
+++ b/tex/context/base/core-ctx.lua
@@ -25,13 +25,12 @@ function commands.loadctxpreplist()
commands.writestatus("systems","loading ctx log file (specified)") -- todo: m!systems
end
--~ end
- for r, d, k in xml.elements(x,"ctx:prepfile") do
- local dk = d[k]
- local name = xml.content(dk)
+ for e in xml.collected(x,"ctx:prepfile") do
+ local name = xml.content(e)
if islocal then
name = file.basename(name)
end
- local done = dk.at['done'] or 'no'
+ local done = e.at['done'] or 'no'
if trace_prepfiles then
commands.writestatus("systems","registering %s -> %s",done)
end