From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58724 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Vianney_le_Cl=E9ment?= Newsgroups: gmane.comp.tex.context Subject: processaction inside MP graphic Date: Wed, 12 May 2010 19:22:19 +0200 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: dough.gmane.org 1273684972 19120 80.91.229.12 (12 May 2010 17:22:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 May 2010 17:22:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 12 19:22:49 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OCFdw-0004LL-Ng for gctc-ntg-context-518@m.gmane.org; Wed, 12 May 2010 19:22:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 20C04C9B49; Wed, 12 May 2010 19:22:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2ZLf1QHK4rYS; Wed, 12 May 2010 19:22:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5E87CC9B10; Wed, 12 May 2010 19:22:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63B4FC9B10 for ; Wed, 12 May 2010 19:22:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uOC1Syx15Wjv for ; Wed, 12 May 2010 19:22:40 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by balder.ntg.nl (Postfix) with ESMTP id E5245C9AF9 for ; Wed, 12 May 2010 19:22:39 +0200 (CEST) Original-Received: by fxm2 with SMTP id 2so287804fxm.14 for ; Wed, 12 May 2010 10:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=tN+kugrIxvx9l8EKYzFDhA1bGvVr2cJaXjG2xAe5CWM=; b=mFKwRgFN8ADQ0nE6+PTJsjntC1v6fFCesgEt2bbB+EHReMWbnESAA9h8Liu14tb2Pt 6ux7mAmjIHrS16HXKDmCOQqcKbitMOhy9amAegEMrrVWkj90eFmree9zqELB90FyBJ1X BYy7/hSlrV9vmIq+fEUISdcpKYF4ep1xjzk94= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=NfF+MQjg2lQ3f20p+deFXrjfH2xP4DncoZ6XOw0KaMBeDf3XUKUPgacN40KM5P8V9H a2yAJC1eDl/LqJDt76Ugr0YFoNlFsSGVKwzBQTJ26tQ2wfDbkuX9nPgV3OsL3XD/sRFI sJb8j8vftDhZJVCnirUEHNJVS37x1yL2dZ0xI= Original-Received: by 10.239.158.66 with SMTP id t2mr742801hbc.76.1273684959144; Wed, 12 May 2010 10:22:39 -0700 (PDT) Original-Received: by 10.239.174.12 with HTTP; Wed, 12 May 2010 10:22:19 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:58724 Archived-At: Hello, I'm having some trouble with a macro using \processaction inside a metapost graphic. Here is a minimal example. \def\Shape#1% {\processaction[#1] [square=>unitsquare, circle=>unitcircle]} \starttext \startuseMPgraphic{test} fill \Shape{square} scaled 1cm; \stopuseMPgraphic \useMPgraphic{test} \stoptext It stops with the error "Use of \p!compareprocessaction doesn't match its definition." Any ideas? Vianney ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________