Hi, linear shading in MP does not work with xetex. Consider
\setupcolors[state=start] \starttext \startMPcode path p ; p := unitsquare xyscaled (5cm,5cm) ; linear_shade(p,1,red, blue) ; \stopMPcode \stoptext This runs fine with pdftex and luatex, but with xetex I get ! Undefined control sequence. [EMAIL PROTECTED]@@[EMAIL PROTECTED] ->\startMPshading {14}\setMPshadingcolors {4}{5}{6}{9}{10}{1... \handleMPspecialcommand ... \MPspecial \endcsname \fi \ifcase \inlineMPspeci... \dohandleMPspecialcomment ...ndleMPspecialcommand \donetrue \doresetMPstack ... l.20 ...1 1 0 0 0 0 0 0 1 141.73225 141.73225 1 30 It is more than simply supp-mpe not being loaded. If I add \input supp-mpe, then I get [MP to PDF] (./test-mpgraph.1 ! Undefined control sequence. \MP special 30 ...6}{9}{10}{11}\immediate \pdfobj {<</FunctionType 2 /Domain... \handleMPspecialcommand ... \MPspecial \endcsname \fi \ifcase \inlineMPspeci... \dohandleMPspecialcomment ...ndleMPspecialcommand \donetrue \doresetMPstack ... l.20 ...1 1 0 0 0 0 0 0 1 141.73225 141.73225 1 30 ? x Thanks, Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________