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 [EMAIL PROTECTED](expr s, p)= [EMAIL PROTECTED](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 [EMAIL PROTECTED](expr s, p)= 
[EMAIL PROTECTED](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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to