diff options
author | Hans Hagen <pragma@wxs.nl> | 2023-02-23 21:40:04 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2023-02-23 21:40:04 +0100 |
commit | 23b5ef45e7939a00addff726d02d6c29243177af (patch) | |
tree | 9b9317684a63bc93fc181c16518293204224430c /tex/context/base/mkxl/strc-reg.lmt | |
parent | cd404631d7079a9af603d173eb015f026731aa01 (diff) | |
download | context-23b5ef45e7939a00addff726d02d6c29243177af.tar.gz |
2023-02-23 21:26:00
Diffstat (limited to 'tex/context/base/mkxl/strc-reg.lmt')
-rw-r--r-- | tex/context/base/mkxl/strc-reg.lmt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/strc-reg.lmt b/tex/context/base/mkxl/strc-reg.lmt index 85198a151..a3a7dae6c 100644 --- a/tex/context/base/mkxl/strc-reg.lmt +++ b/tex/context/base/mkxl/strc-reg.lmt @@ -1403,7 +1403,9 @@ function registers.flush(data,options,prefixspec,pagespec) if nofpages > 0 then -- or 0 d = dd for p=1,nofpages do - local first, last = pages[p][1], pages[p][2] + local page = pages[p] + local first = page[1] + local last = page[2] if first == last then if first.references.lastrealpage then pagerange(first,first,true,prefixspec,pagespec) |