diff options
Diffstat (limited to 'tex/context/base/mkxl/spac-ver.lmt')
-rw-r--r-- | tex/context/base/mkxl/spac-ver.lmt | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/spac-ver.lmt b/tex/context/base/mkxl/spac-ver.lmt index fcb1b7e7f..3faa15c77 100644 --- a/tex/context/base/mkxl/spac-ver.lmt +++ b/tex/context/base/mkxl/spac-ver.lmt @@ -2472,8 +2472,18 @@ do -- check if in mvl if texgetnest("ptr") == 0 then -- this flushes the contributions - while getspeciallist("contributehead") do - triggerbuildpage() + local prev = nil + local cycle = 1 + while cycle <= 10 do + local head = getspeciallist("contributehead") + if head == prev then + -- This can happen .. maybe 10 is already too much ... e.g. + -- extreme side float case in m4all. + cycle = cycle + 1 + else + triggerbuildpage() + prev = head + end end -- now we consult the last line (if present) local head, tail = getspeciallist("pagehead") |