Any idea what can cause the following error? I never encountered such a thing so I don't know where to start hunting. The error is new in mkiv, did not occur in mkii. ! LuaTeX error ...beta/tex/texmf-context/tex/context/base/lpdf-ini.lua: 534: pdf.immediateobj() object in use stack traceback: [C]: in function 'pdfimmediateobj' ...beta/tex/texmf-context/tex/context/base/lpdf-ini.lua:534: in function '?' ...beta/tex/texmf-context/tex/context/base/lpdf-ini.lua:462: in function 'run' ...beta/tex/texmf-context/tex/context/base/lpdf-ini.lua:485: in function 'finalizedocument' <main ctx instance>:1: in main chunk. <inserted text> ...einjections.finalizedocument()} <inserted text> \the \everylastbackendshipout \flushtextdata \actualshipout ...e \relax \the \everylastshipout \global \everylastshipout ... \myshipout ...\@@ppmethod }\gobbleoneargument {#1} \setnextrealpageno \afters... \dofinaloutput ...hbox {\vbox {\dopagebody #1#2}}} \the \everyaftershipout \a... \finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2 \resetselectiepagina \incr... ... l.41 \stopproduct Hans van der Meer