Hi, the attached example works with mkii, but breaks with mkiv. Here is the error message I get (beta 28.09.2009): systems : begin file test at line 1 ! Missing \endgroup inserted. <inserted text> \endgroup <to be read again> \vskip \stopblankhandling ...ional \someblankdone \vskip \blankskip \fi \endgroup l.3 \stopblankhandling \dovspacing ...argument #1\else \s!default \fi ")} <to be read again> \leavevmode ... l.20 \setlayer[FOO]{\getbuffer[FOO]} ? ! Emergency stop. <inserted text> \endgroup <to be read again> \vskip \stopblankhandling ...ional \someblankdone \vskip \blankskip \fi \endgroup l.3 \stopblankhandling \dovspacing ...argument #1\else \s!default \fi ")} <to be read again> \leavevmode ... l.20 \setlayer[FOO]{\getbuffer[FOO]} ! ==> Fatal error occurred, no output PDF file produced!MTXrun | run 1: luatex --fmt="r:/tex/texmf-cache/luatex-cache/context/d0b787cd25b9175dc4eaa276af366360/formats/cont-en" --lua="r:/tex/texmf-cache/luatex-cache/context/d0b787cd25b9175dc4eaa276af366360/formats/cont-en.lui" --backend=pdf "./test" MTXrun | fatal error, return code: 1 ------------------------------------- Best wishes, Peter \starttext \startbuffer[FOO] %\startlocal \defineparagraphs[SomePar][n=2]%,rule=on]% %\setupparagraphs [SomePar][1][width=.5\hsize]% %\setupparagraphs [SomePar][2][width=.4\hsize]% %\CalloutFont\setupstrut\setupinterlinespace % right font must be set %\setupwhitespace[small]% \startSomePar Speichern des\endgraf aktuellen Designs \SomePar Löschen (!)\endgraf der aktuellen\endgraf Designvorlage \stopSomePar %\stoplocal \stopbuffer \definelayer[FOO] \setlayer[FOO]{\getbuffer[FOO]} \flushlayer[FOO] \stoptext