diff options
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 |