Hallo,

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

\startstaticMPfigure{tst}
  LABEL.llft("Test", (1,1) ) ;
\stopstaticMPfigure

\starttext
\midaligned{\usestaticMPfigure[tst]}
\stoptext
%------------------------------------------------

I got the following error:

%------------------------------------------------
! Illegal parameter number in definition of [EMAIL PROTECTED]@@@.
<to be read again> 
                   (
<argument> vardef [EMAIL PROTECTED](
                           expr s, p)= [EMAIL PROTECTED](textext("\framed 
[width=1.5c...

\dodostartuseMPgraphic ...useMPgraphic {#1}{#2}{#3
                                                  }}\elabelgroup 
\dodostartMPpage ...aphic {@@}#1\stopuseMPgraphic 
                                                  \useMPgraphic 
{@@}\dostopf...
l.14 endfig; \stopMPpage
%------------------------------------------------

What is wrong here?

Wolfgang                        
___________________________________________________________________________________
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