summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/node-syn.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-06-29 20:35:31 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-06-29 20:35:31 +0200
commit74abcdb3fc2356cd40aa94d002f2a19aac549b40 (patch)
tree8ffec59cacaab13c48b01c2dead7e97a5d39e7c3 /tex/context/base/mkiv/node-syn.lua
parent3bc02e08823ca9d94cd3da01161ec511c9fdec3f (diff)
downloadcontext-74abcdb3fc2356cd40aa94d002f2a19aac549b40.tar.gz
2020-06-29 19:45:00
Diffstat (limited to 'tex/context/base/mkiv/node-syn.lua')
-rw-r--r--tex/context/base/mkiv/node-syn.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/node-syn.lua b/tex/context/base/mkiv/node-syn.lua
index 68a05234e..c1c62f407 100644
--- a/tex/context/base/mkiv/node-syn.lua
+++ b/tex/context/base/mkiv/node-syn.lua
@@ -469,7 +469,11 @@ local x_hlist do
local doaction = doaction_1
x_hlist = function(head,current,t,l,w,h,d)
- return insert_before(head,current,new_latelua(function() doaction(t,l,w,h,d) end))
+ if filehandle then
+ return insert_before(head,current,new_latelua(function() doaction(t,l,w,h,d) end))
+ else
+ return head
+ end
end
directives.register("system.synctex.compression", function(v)
@@ -858,3 +862,7 @@ interfaces.implement {
actions = synctex.popline,
}
+implement {
+ name = "synctexdisable",
+ actions = synctex.disable,
+}