![](https://secure.gravatar.com/avatar/44ca9eda7aaa681c0e3b3e90125c56b0.jpg?s=120&d=mm&r=g)
Hans Hagen schrieb:
Peter Rolf wrote:
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
here is a patch (can't update right now, in the middle of something else)
Thanks Hans! As a nice side effect my other problem http://archive.contextgarden.net/message/20090924.150300.aabab18c.en.html is also history now. All colors are at the right places again.
\def\startblankhandling {\par \ifvmode \expandafter\dostartblankhandling \else \expandafter\nostartblankhandling \fi}
\def\nostartblankhandling#1\stopblankhandling {}
\def\dostartblankhandling {\begingroup \setfalse\someblankdone \the\everybeforeblankhandling}
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________