From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16954 Path: main.gmane.org!not-for-mail From: Matthias Weber Newsgroups: gmane.comp.tex.context Subject: Re: \reuseMPgraphic error Date: Thu, 4 Nov 2004 14:03:22 -0500 Message-ID: <32A10A04-2E94-11D9-AA41-0003934F9514@indiana.edu> References: <3.0.5.32.20041104100702.007fcbe0@mail.northcoast.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1099595026 12418 80.91.229.6 (4 Nov 2004 19:03:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Nov 2004 19:03:46 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 04 20:03:31 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 1CPmtP-0003gH-00 for ; Thu, 04 Nov 2004 20:03:31 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EDC05127A1; Thu, 4 Nov 2004 20:03:30 +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 10457-02; Thu, 4 Nov 2004 20:03:26 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7E9C312784; Thu, 4 Nov 2004 20:03:26 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 99AD712784 for ; Thu, 4 Nov 2004 20:03:25 +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 10125-03 for ; Thu, 4 Nov 2004 20:03:24 +0100 (CET) Original-Received: from plounts.uits.indiana.edu (unknown [129.79.1.73]) by ronja.ntg.nl (Postfix) with ESMTP id 903581277B for ; Thu, 4 Nov 2004 20:03:24 +0100 (CET) Original-Received: from mail-relay.iu.edu (fontz.uits.indiana.edu [129.79.1.76]) by plounts.uits.indiana.edu (8.12.10/8.12.10/IUPO) with ESMTP id iA4J3Maf017254 for ; Thu, 4 Nov 2004 14:03:22 -0500 (EST) Original-Received: from [129.79.94.188] (129-79-94-188.dhcp-bl.indiana.edu [129.79.94.188]) (authenticated bits=0) by mail-relay.iu.edu (8.12.10/8.12.10/IUPO) with ESMTP id iA4J3Mqt021154 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Thu, 4 Nov 2004 14:03:22 -0500 (EST) In-Reply-To: <3.0.5.32.20041104100702.007fcbe0@mail.northcoast.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.619) 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:16954 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16954 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) > clip currentpicture to unitsquare scaled 3cm shifted (0,5cm); > currentpicture:=currentpicture scaled 2 shifted (0,-8cm); > setbounds currentpicture to unitsquare xyscaled (6cm,8cm); > \stopreusableMPgraphic > > > > \setupcolors[state=start] > > \starttext > > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > > \hbox > {\reuseMPgraphic{layout 1}\hskip1cm > \reuseMPgraphic{layout 2}} > > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > > \page > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > > \startlinecorrection[blank] > \hbox > {\reuseMPgraphic{layout 1}\hskip1cm > \reuseMPgraphic{layout 2}} > \stoplinecorrection > > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > Now is the time for all good men to come to the aid of their country. > > \stoptext > > > Produces this error: > > ERROR: Undefined control sequence. > > --- TeX said --- > \getobject ...->\blabelgroup \let \dohandleobject > \dogetobject \csname > \r!ob... > \includeMPgraphic {layout 1} > clip currentpicture to > unitsquare > sc... > > \nonowriteMPgraphicline ... \long \edef \ascii {#1 > }\expandafter > \flushMPgrap... > > \shortMPflushN ...nowriteMPgraphicline #1#2\MPend > \expandafter > \shortMPflush... > ...itsquare scaled 3cm shifted (0,5cm); > > currentpicture:=currentpi... > > \writeMPgraphicshortN ... \space \shortMPflushN #1 > \empty ;\relax > ;\egroup > ... > l.40 \reuseMPgraphic{layout 2}} > > --- HELP --- > TeX encountered an unknown command name. You probably misspelled the > name. If this message occurs when a LaTeX command is being processed, > the command is probably in the wrong place---for example, the error > can be produced by an \item command that's not inside a list-making > environment. The error can also be caused by a missing \documentstyle > command. > > Any ideas? > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > >