From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44720 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: linear_shade and xetex Date: Mon, 13 Oct 2008 12:07:12 -0400 (EDT) Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223919473 6940 80.91.229.12 (13 Oct 2008 17:37:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Oct 2008 17:37:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 13 19:38:48 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KpRMr-0007D7-M5 for gctc-ntg-context-518@m.gmane.org; Mon, 13 Oct 2008 19:38:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7EEA21FB89; Mon, 13 Oct 2008 19:36:59 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22136-01-7; Mon, 13 Oct 2008 19:36:21 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E26051FC0B; Mon, 13 Oct 2008 19:33:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E29BA1FBD4 for ; Mon, 13 Oct 2008 19:33:06 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18307-04-3 for ; Mon, 13 Oct 2008 19:32:28 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with ESMTP id 55DDC1FDFC for ; Mon, 13 Oct 2008 18:07:14 +0200 (CEST) Original-Received: FROM adi-laptop.local (c-71-234-195-113.hsd1.ct.comcast.net [71.234.195.113]) BY skycaptain.mr.itd.umich.edu ID 48F37231.3C2D3.28293 ; 13 Oct 2008 12:07:13 -0400 User-Agent: Alpine 1.00 (DEB 882 2007-12-20) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44720 Archived-At: 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. \@MPSK@@MPSK@30 ->\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 {<