From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16999 Path: main.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Re: \reuseMPgraphic error Date: Mon, 08 Nov 2004 19:06:24 -0800 Message-ID: <3.0.5.32.20041108190624.008f6c30@mail.northcoast.com> References: <32A10A04-2E94-11D9-AA41-0003934F9514@indiana.edu> <3.0.5.32.20041104100702.007fcbe0@mail.northcoast.com> <32A10A04-2E94-11D9-AA41-0003934F9514@indiana.edu> <418F5502.7030403@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1099969837 12192 80.91.229.6 (9 Nov 2004 03:10:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Nov 2004 03:10:37 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 09 04:10:22 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CRMOk-0005lG-00 for ; Tue, 09 Nov 2004 04:10:22 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 11FFC1278B; Tue, 9 Nov 2004 04:10:22 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18357-03; Tue, 9 Nov 2004 04:10:18 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EF47812791; Tue, 9 Nov 2004 04:10:17 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D46A812791 for ; Tue, 9 Nov 2004 04:10:15 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18255-05 for ; Tue, 9 Nov 2004 04:10:14 +0100 (CET) Original-Received: from smtp.inreach.com (unknown [209.142.2.34]) by ronja.ntg.nl (Postfix) with SMTP id C0B4F1278B for ; Tue, 9 Nov 2004 04:10:13 +0100 (CET) Original-Received: (qmail 12579 invoked from network); 9 Nov 2004 03:11:40 -0000 Original-Received: from unknown (HELO newmicronpc) (209.209.15.193) by smtp.inreach.com with SMTP; 9 Nov 2004 03:11:40 -0000 X-Sender: darnold@mail.northcoast.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Original-To: mailing list for ConTeXt users In-Reply-To: <418F5502.7030403@wxs.nl> Original-References: <32A10A04-2E94-11D9-AA41-0003934F9514@indiana.edu> <3.0.5.32.20041104100702.007fcbe0@mail.northcoast.com> <32A10A04-2E94-11D9-AA41-0003934F9514@indiana.edu> X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16999 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16999 Hans, Matthias, Thanks. Changing: \startreusableMPgraphic{layout 1} to \startruseMPgraphic{layout 1} fixed the problem. At 12:14 PM 11/8/04 +0100, you wrote: >Matthias Weber wrote: >> >> On Nov 4, 2004, at 1:07 PM, David Arnold wrote: >> >>> All, >>> >>> This file: >>> >>> \setupoutput[pdf] >>> >>> \startreusableMPgraphic{layout 1} >>> pickup pencircle scaled 1mm; >>> fill unitsquare xyscaled (7cm,8cm) withcolor 0.85white; >>> fill unitsquare xyscaled (5cm,5cm) shifted (1cm,1.5cm) withcolor >>> 0.625yellow; >>> fill unitsquare xyscaled (5cm,1cm) shifted (1cm,0.5cm) withcolor >>> 0.625red; >>> fill unitsquare xyscaled (5cm,1cm) shifted (1cm,6.5cm) withcolor >>> 0.625red; >>> draw unitsquare xyscaled (5cm,7cm) shifted (1cm,0.5cm) withcolor >>> 0.25white; >>> drawarrow (2cm,8cm)--top (2cm,7.5cm); >>> drawarrow (0cm,7cm)--lft(1cm,7cm); >>> clip currentpicture to unitsquare xyscaled (7cm,8cm); >>> \stopreusableMPgraphic >>> >>> >>> \startreusableMPgraphic{layout 2} >>> \includeMPgraphic{layout 1} >> >> >> ^^^^^^^^^ >> is that allowed? (it works without) > >it is allowed, but only when layout 1 is a usableMPgraphic > >Hans > >----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl >----------------------------------------------------------------- > >_______________________________________________ >ntg-context mailing list >ntg-context@ntg.nl >http://www.ntg.nl/mailman/listinfo/ntg-context > >