From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16976 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: \reuseMPgraphic error Date: Mon, 08 Nov 2004 12:14:10 +0100 Message-ID: <418F5502.7030403@wxs.nl> References: <3.0.5.32.20041104100702.007fcbe0@mail.northcoast.com> <32A10A04-2E94-11D9-AA41-0003934F9514@indiana.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1099912568 13194 80.91.229.6 (8 Nov 2004 11:16:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Nov 2004 11:16:08 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 08 12:15:51 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 1CR7V1-0003Gj-00 for ; Mon, 08 Nov 2004 12:15:51 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 43B3B1278C; Mon, 8 Nov 2004 12:15:50 +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 08766-02; Mon, 8 Nov 2004 12:15:50 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EFEF71279F; Mon, 8 Nov 2004 12:14:06 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DDE6F1279F for ; Mon, 8 Nov 2004 12:14:04 +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 08766-01-2 for ; Mon, 8 Nov 2004 12:14:04 +0100 (CET) Original-Received: from mailrelay01.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 50AA51278C for ; Mon, 8 Nov 2004 12:14:04 +0100 (CET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id iA8BE1iP011554 for ; Mon, 8 Nov 2004 12:14:02 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id DE3662D231; Mon, 8 Nov 2004 12:14:03 +0100 (CET) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id B2FCB18A7B for ; Mon, 8 Nov 2004 11:14:02 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <32A10A04-2E94-11D9-AA41-0003934F9514@indiana.edu> X-Virus-Scanned: ClamAV 0.80/540/Tue Oct 19 14:59:23 2004 clamav-milter version 0.80j on mailrelay01 X-Virus-Status: Clean 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:16976 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16976 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 -----------------------------------------------------------------