diff options
Diffstat (limited to 'tex/context/base/mkiv/node-par.lua')
-rw-r--r-- | tex/context/base/mkiv/node-par.lua | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/node-par.lua b/tex/context/base/mkiv/node-par.lua new file mode 100644 index 000000000..e45e6dc16 --- /dev/null +++ b/tex/context/base/mkiv/node-par.lua @@ -0,0 +1,21 @@ +if not modules then modules = { } end modules ['node-par'] = { + version = 1.001, + comment = "companion to node-ini.mkiv", + author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", + copyright = "PRAGMA ADE / ConTeXt Development Team", + license = "see context related readme files" +} + +local starttiming = statistics.starttiming +local stoptiming = statistics.stoptiming + +local actions = nodes.tasks.actions("everypar") + +local function everypar(head) + starttiming(builders) + head = actions(head) + stoptiming(builders) + return head +end + +callback.register("insert_local_par",everypar,"paragraph start") |