From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44816 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: linear_shade and xetex Date: Fri, 17 Oct 2008 18:22:28 -0400 (EDT) Message-ID: References: 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 1224282249 6459 80.91.229.12 (17 Oct 2008 22:24:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2008 22:24:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 18 00:25:08 2008 connect(): Connection refused 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 1Kqxkp-0005QF-P2 for gctc-ntg-context-518@m.gmane.org; Sat, 18 Oct 2008 00:25:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1176A1FCE9; Sat, 18 Oct 2008 00:24:01 +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 03239-02-2; Sat, 18 Oct 2008 00:23:06 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 33B971FBB8; Sat, 18 Oct 2008 00:23:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8D2B11FBB8 for ; Sat, 18 Oct 2008 00:23:04 +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 01400-03-8 for ; Sat, 18 Oct 2008 00:22:33 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with ESMTP id 244B01FB71 for ; Sat, 18 Oct 2008 00:22:32 +0200 (CEST) Original-Received: FROM adi-laptop.local (c-71-234-195-113.hsd1.ct.comcast.net [71.234.195.113]) BY tombraider.mr.itd.umich.edu ID 48F91025.ADB30.2651 ; 17 Oct 2008 18:22:30 -0400 In-Reply-To: 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:44816 Archived-At: On Mon, 13 Oct 2008, Aditya Mahajan wrote: > Hi, > > linear shading in MP does not work with xetex. Since no one replied am I correct in assuming that this is currently not possible or requires a lot of work? Aditya > 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 > {< /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 > ___________________________________________________________________________________ > > > ___________________________________________________________________________________ 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 ___________________________________________________________________________________