Yesterday I was trying to typeset a very, very long document (about 3000 pages in A4). Well, mkiv died with a
PANIC: unprotected error in call to Lua API (stack overflow (out of stack space))
It's easily reproducible with a simple
\starttext \dorecurse{50000}{ \input knuth }
Once it reaches page 4000 it will die.
i could run this
\starttext
\dorecurse{50000}{narf \page}
\stoptext
==
pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!
Output written on test.pdf (50000 pages, 10574005 bytes).
Transcript written on test.log.
TeXExec | runtime: 310.679998
==
and got 50000 pages in one pdf.
Okular is quite slow in opening it and needs 200 MB RAM, but it works.
But i could not use Ctrl-C to break the loop.
I think that is a bug, or not?
i use this context:
http://packages.debian.org/experimental/context
Kind regards,
--
Jonas Stein