summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/cont-run.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/cont-run.lua')
-rw-r--r--tex/context/base/mkiv/cont-run.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/cont-run.lua b/tex/context/base/mkiv/cont-run.lua
index d9dad3f2d..2225a0fb2 100644
--- a/tex/context/base/mkiv/cont-run.lua
+++ b/tex/context/base/mkiv/cont-run.lua
@@ -180,6 +180,10 @@ local function processjob()
local suffix = environment.suffix
local filename = environment.filename -- hm, not inputfilename !
+ if arguments.synctex then
+ directives.enable("system.synctex="..tostring(arguments.synctex))
+ end
+
if not filename or filename == "" then
-- skip
elseif suffix == "xml" or arguments.forcexml then