summaryrefslogtreecommitdiff
path: root/tex/context/base/trac-tim.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/trac-tim.lua')
-rw-r--r--tex/context/base/trac-tim.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/context/base/trac-tim.lua b/tex/context/base/trac-tim.lua
index 527efa088..15ac9bf1b 100644
--- a/tex/context/base/trac-tim.lua
+++ b/tex/context/base/trac-tim.lua
@@ -16,6 +16,8 @@ moduledata.progress = progress
local report_timing = logs.reporter("timing")
+if not nodes then nodes = { } end -- when loaded in mtxrun
+
progress.parameters = nodes and nodes.snapshots.getparameters
progress.defaultfilename = ((tex and tex.jobname) or "whatever") .. "-luatex-progress"