diff options
Diffstat (limited to 'tex/context/base/mkxl/pack-rul.lmt')
-rw-r--r-- | tex/context/base/mkxl/pack-rul.lmt | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/tex/context/base/mkxl/pack-rul.lmt b/tex/context/base/mkxl/pack-rul.lmt index c2183c1ad..12d131c88 100644 --- a/tex/context/base/mkxl/pack-rul.lmt +++ b/tex/context/base/mkxl/pack-rul.lmt @@ -195,15 +195,7 @@ local function doanalyzeframedbox(n) if getwidth(box) ~= 0 then local list = getlist(box) if list then - for n in nexthlist, list do - local width, height, depth = getwhd(n) - if not firstheight then - firstheight = height - end - lastdepth = depth - noflines = noflines + 1 - end - for n in nextvlist, list do + for n in nextlist, list do local width, height, depth = getwhd(n) if not firstheight then firstheight = height @@ -211,6 +203,22 @@ local function doanalyzeframedbox(n) lastdepth = depth noflines = noflines + 1 end + -- for n in nexthlist, list do + -- local width, height, depth = getwhd(n) + -- if not firstheight then + -- firstheight = height + -- end + -- lastdepth = depth + -- noflines = noflines + 1 + -- end + -- for n in nextvlist, list do + -- local width, height, depth = getwhd(n) + -- if not firstheight then + -- firstheight = height + -- end + -- lastdepth = depth + -- noflines = noflines + 1 + -- end end end texsetcount("global",c_framednoflines,noflines) |