diff options
author | Hans Hagen <pragma@wxs.nl> | 2018-09-02 00:04:51 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2018-09-02 00:04:51 +0200 |
commit | fd9c4ecd4421d087de21bef1e53d8ffb016285b0 (patch) | |
tree | 64606204adcabe2f197984ca8d063891b770bace /tex/context/base/mkiv/page-lin.lua | |
parent | 2106beefbc854f77a92264c815d3cf2b3460f0b6 (diff) | |
download | context-fd9c4ecd4421d087de21bef1e53d8ffb016285b0.tar.gz |
2018-09-01 23:20:00
Diffstat (limited to 'tex/context/base/mkiv/page-lin.lua')
-rw-r--r-- | tex/context/base/mkiv/page-lin.lua | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tex/context/base/mkiv/page-lin.lua b/tex/context/base/mkiv/page-lin.lua index e59bb4ed1..0e5f74694 100644 --- a/tex/context/base/mkiv/page-lin.lua +++ b/tex/context/base/mkiv/page-lin.lua @@ -284,8 +284,8 @@ end local function listisnumbered(list) if list then - for n in nexthlist, list do -- LUATEXVERSION >= 1.080 - if getsubtype(n) == line_code then + for n, subtype in nexthlist, list do + if subtype == line_code then local a = getattr(n,a_linenumber) if a then -- a quick test for lines (only valid when \par before \stoplinenumbering) @@ -384,8 +384,7 @@ function boxed.stage_one(n,nested) local skip = false local function check() - for n in nexthlist, list do -- LUATEXVERSION >= 1.080 - local subtype = getsubtype(n) + for n, subtype in nexthlist, list do if subtype ~= line_code then -- go on elseif getheight(n) == 0 and getdepth(n) == 0 then @@ -451,7 +450,7 @@ function boxed.stage_one(n,nested) if not list then return end - for n in nextvlist, list do -- LUATEXVERSION >= 1.080 + for n in nextvlist, list do local p = properties[n] if p and p.columngap then if trace_numbers then @@ -474,7 +473,7 @@ function boxed.stage_two(n,m) if #current_list > 0 then m = m or lines.scratchbox local t, tn = { }, 0 - for l in nexthlist, getlist(getbox(m)) do -- LUATEXVERSION >= 1.080 + for l in nexthlist, getlist(getbox(m)) do tn = tn + 1 t[tn] = copy_node(l) -- use take_box instead end |