diff options
Diffstat (limited to 'tex/context/base/luat-run.lua')
-rw-r--r-- | tex/context/base/luat-run.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tex/context/base/luat-run.lua b/tex/context/base/luat-run.lua index 77147c862..5bccfee7e 100644 --- a/tex/context/base/luat-run.lua +++ b/tex/context/base/luat-run.lua @@ -127,7 +127,14 @@ directives.register("system.synctex", function(v) else report_system("synctex functionality is disabled!") end + -- current this is bugged: tex.synctex = synctex and 1 or 0 + -- so for the moment we need: + if synctex then + tex.print("\\normalsynctex\\plusone") + else + tex.print("\\normalsynctex\\zerocount") + end end) statistics.register("synctex tracing",function() |