From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16949 Path: main.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Re: No color even though \setupcolors[state=start] Date: Thu, 04 Nov 2004 09:13:31 -0800 Message-ID: <3.0.5.32.20041104091331.008f8e10@mail.northcoast.com> References: <3.0.5.32.20041104090733.008f3820@mail.northcoast.com> 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 1099588657 24817 80.91.229.6 (4 Nov 2004 17:17:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Nov 2004 17:17:37 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 04 18:17:28 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 1CPlEl-00022b-00 for ; Thu, 04 Nov 2004 18:17:27 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7200012784; Thu, 4 Nov 2004 18:17:27 +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 09366-02; Thu, 4 Nov 2004 18:17:25 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1DB001277B; Thu, 4 Nov 2004 18:17:25 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1D7E81277B for ; Thu, 4 Nov 2004 18:17:24 +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 09384-01-2 for ; Thu, 4 Nov 2004 18:17:23 +0100 (CET) Original-Received: from smtp.inreach.com (unknown [209.142.2.34]) by ronja.ntg.nl (Postfix) with SMTP id 0E57712775 for ; Thu, 4 Nov 2004 18:17:22 +0100 (CET) Original-Received: (qmail 3133 invoked from network); 4 Nov 2004 17:18:47 -0000 Original-Received: from unknown (HELO newmicronpc) (209.209.15.174) by smtp.inreach.com with SMTP; 4 Nov 2004 17:18:47 -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: <3.0.5.32.20041104090733.008f3820@mail.northcoast.com> 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:16949 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16949 All, Duh! draw, not fill! Sorry. At 09:07 AM 11/4/04 -0800, you wrote: >All, > >Can anyone tell me why I am not getting any color (red and yellow)? > >\startuseMPgraphic{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; >fill unitsquare xyscaled (5cm,7cm) shifted (1cm,0.5cm) withcolor 0.25white; 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); >\stopuseMPgraphic > >\startuseMPgraphic{layout 2} >\includeMPgraphic{layout 1} >clip currentpicture to unitsquare scaled 3cm shifted (0,5cm); >currentpicture:=currentpicture scaled 2 shifted (0,-8cm); >setbounds currentpicture to unitsquare xyscaled (6cm,8cm); >\stopuseMPgraphic > > >\setupcolors[state=start] > >\starttext > >\startlinecorrection[blank] >\hbox >{\useMPgraphic{layout 1}\hskip1cm >\useMPgraphic{layout 2}} >\stoplinecorrection > >\stoptext > >_______________________________________________ >ntg-context mailing list >ntg-context@ntg.nl >http://www.ntg.nl/mailman/listinfo/ntg-context > >