Wolfgang Werners-Lucchini wrote:
Hallo Hans,
the following example is a cooked down version of something I found on the net. Compiling this
%------------------------------------------------ \setupcolors[state=start]
\forceMPTEXcheck{LABEL}
\startMPinclusions vardef LABEL@\#(expr s, p)= label@\#(textext("% \framed[width=1.5cm]{" & s & "}"),p) enddef ; \stopMPinclusions I could not get this to work either. Something has changed in the MPinclusions parsing, maybe? (Putting the definition in a separate mp file prevents the error, of course) hm, i'll have a look, but in mkiv there will be no such checks supported anyway
Have you had a look?
\setupcolors[state=start] \forceMPTEXcheck{LABEL} \startMPinclusions vardef LABEL@\#(expr s, p)= label@\#(textext("\framed[width=1.5cm]{xxx" & s & "xx}"),p) enddef ; \stopMPinclusions \startMPpage LABEL("oeps",origin) ; \stopMPpage works ok on my machine using pdftex but luatex gives an unknown (have to look into it) Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------