From 8098b3762ab0700f87d8dd18e3c37e43b5b54357 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Tue, 23 Feb 2010 14:10:00 +0100 Subject: beta 2010.02.23 14:10 --- tex/context/base/node-pag.lua | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'tex/context/base/node-pag.lua') 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) -- cgit v1.2.3