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) \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 -----------------------------------------------------------------