summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/node-par.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2018-07-20 21:48:33 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2018-07-20 21:48:33 +0200
commitdeab0bfe7f4be57121779e93bf291e518fda7cf3 (patch)
treed206a8e495944e2f6ce1d3dea688309012904825 /tex/context/base/mkiv/node-par.lua
parente09328e5e3230ee408f6af2cd454848c4d056702 (diff)
downloadcontext-deab0bfe7f4be57121779e93bf291e518fda7cf3.tar.gz
2018-07-20 21:28:00
Diffstat (limited to 'tex/context/base/mkiv/node-par.lua')
-rw-r--r--tex/context/base/mkiv/node-par.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/node-par.lua b/tex/context/base/mkiv/node-par.lua
index e45e6dc16..4afaef220 100644
--- a/tex/context/base/mkiv/node-par.lua
+++ b/tex/context/base/mkiv/node-par.lua
@@ -11,6 +11,8 @@ local stoptiming = statistics.stoptiming
local actions = nodes.tasks.actions("everypar")
+-- this one is called a lot!
+
local function everypar(head)
starttiming(builders)
head = actions(head)
@@ -18,4 +20,8 @@ local function everypar(head)
return head
end
-callback.register("insert_local_par",everypar,"paragraph start")
+if LUATEXFUNCTIONALITY > 6857 then
+
+ callback.register("insert_local_par",everypar,"paragraph start")
+
+end