I know that metapost can send the variables "version", "number", "string",
"point", "quad", "boolean" and "path" to Context.
"triplet" variable can't pass. It will be very usefull if metapost can send
a array to context.


numeric x[];
for i = 1 upto 10: x[i]:=random; endfor

    passvariable("version","1.0") ;
    passvariable("number",x[1]) ;
    passvariable("string","whatever") ;
    passvariable("point",(1,2)) ;
passvariable("triplet",(1,2,3)) ;
    passvariable("quad",(1,2,3,4)) ;
    passvariable("boolean",false) ;
    passvariable("path",fullcircle scaled 1cm) ;




Thanks in advance

If your question is of interest to others as well, please add an entry to the 

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net

Reply via email to