diff options
author | Hans Hagen <pragma@wxs.nl> | 2018-07-20 21:48:33 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2018-07-20 21:48:33 +0200 |
commit | deab0bfe7f4be57121779e93bf291e518fda7cf3 (patch) | |
tree | d206a8e495944e2f6ce1d3dea688309012904825 /tex/context/base/mkiv/node-par.lua | |
parent | e09328e5e3230ee408f6af2cd454848c4d056702 (diff) | |
download | context-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.lua | 8 |
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 |