diff options
author | Hans Hagen <pragma@wxs.nl> | 2010-02-23 14:10:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2010-02-23 14:10:00 +0100 |
commit | 8098b3762ab0700f87d8dd18e3c37e43b5b54357 (patch) | |
tree | 9f1bc9204e36ae1bbe8a1c1eabc024203f35e684 /tex/context/base/node-pag.lua | |
parent | a81728fa7c7e1b92d436835ac4019b2e46f80853 (diff) | |
download | context-8098b3762ab0700f87d8dd18e3c37e43b5b54357.tar.gz |
beta 2010.02.23 14:10
Diffstat (limited to 'tex/context/base/node-pag.lua')
-rw-r--r-- | tex/context/base/node-pag.lua | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tex/context/base/node-pag.lua b/tex/context/base/node-pag.lua index fd1504eac..2f149ab44 100644 --- a/tex/context/base/node-pag.lua +++ b/tex/context/base/node-pag.lua @@ -6,6 +6,8 @@ if not modules then modules = { } end modules ['node-pag'] = { license = "see context related readme files" } +-- this callback might disappear + pagebuilders = pagebuilders or { } local starttiming, stoptiming = statistics.starttiming, statistics.stoptiming @@ -17,10 +19,11 @@ local function processor(head,groupcode,size,packtype,maxdepth,direction) local _, done = actions(head,groupcode,size,packtype,maxdepth,direction) stoptiming(pagebuilders) return (done and head) or true +-- return vpack(head) end -callbacks.register('pre_output_filter', processor, "preparing output box") +--~ callbacks.register('pre_output_filter', processor, "preparing output box") -statistics.register("output preparation time", function() - return statistics.elapsedseconds(pagebuilders) -end) +--~ statistics.register("output preparation time", function() +--~ return statistics.elapsedseconds(pagebuilders) +--~ end) |