summaryrefslogtreecommitdiff
path: root/tex/context/base/luat-run.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/luat-run.lua')
-rw-r--r--tex/context/base/luat-run.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/tex/context/base/luat-run.lua b/tex/context/base/luat-run.lua
index 51856640d..ce25d1f55 100644
--- a/tex/context/base/luat-run.lua
+++ b/tex/context/base/luat-run.lua
@@ -138,13 +138,14 @@ directives.register("system.synctex", function(v)
else
report_system("synctex functionality is disabled!")
end
- -- current this is bugged:
+ -- currently this is bugged:
tex.synctex = synctex and 1 or 0
-- so for the moment we need:
+ context.normalsynctex()
if synctex then
- tex.print("\\normalsynctex\\plusone")
+ context.plusone()
else
- tex.print("\\normalsynctex\\zerocount")
+ context.zerocount()
end
end)