summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/luat-run.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/luat-run.lmt')
-rw-r--r--tex/context/base/mkxl/luat-run.lmt8
1 files changed, 8 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/luat-run.lmt b/tex/context/base/mkxl/luat-run.lmt
index f6b2ea063..c53817697 100644
--- a/tex/context/base/mkxl/luat-run.lmt
+++ b/tex/context/base/mkxl/luat-run.lmt
@@ -211,6 +211,14 @@ function luatex.currentfile()
return stack[#stack] or tex.jobname
end
+function luatex.currentlevel()
+ return level
+end
+
+function luatex.currenttotal()
+ return total
+end
+
local function report_start(name,rest)
if rest then
-- luatex