From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30951 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: transparent metafun colors turn nearly black Date: Sat, 23 Sep 2006 19:28:52 +0200 Message-ID: <45156ED4.2030209@gmx.net> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1159032604 26700 80.91.229.2 (23 Sep 2006 17:30:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Sep 2006 17:30:04 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 23 19:30:02 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GRBKC-0001k6-On for gctc-ntg-context-518@m.gmane.org; Sat, 23 Sep 2006 19:30:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7A2331FC11; Sat, 23 Sep 2006 19:30:00 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17545-01-3; Sat, 23 Sep 2006 19:29:54 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 814941FDFB; Sat, 23 Sep 2006 19:29:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5B66C1FDFB for ; Sat, 23 Sep 2006 19:29:51 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17545-01-2 for ; Sat, 23 Sep 2006 19:29:44 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 2D80B1FC11 for ; Sat, 23 Sep 2006 19:29:42 +0200 (CEST) Original-Received: (qmail invoked by alias); 23 Sep 2006 17:29:42 -0000 Original-Received: from i577B9099.versanet.de (EHLO [192.168.1.3]) [87.123.144.153] by mail.gmx.net (mp027) with SMTP; 23 Sep 2006 19:29:42 +0200 X-Authenticated: #24293357 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Original-To: mailing list for ConTeXt users In-Reply-To: X-Enigmail-Version: 0.94.0.0 X-Y-GMX-Trusted: 0 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:30951 Archived-At: Hi Sanjoy, Sanjoy Mahajan wrote: > Just for (meta)fun, I tried a few experiments with transparent colors. > The example below gives a black circle instead of a red one. Is it that > transparent colors aren't part of metafun -- which I can easily live > with since color printing is too expensive still, alas -- or have I > omitted an essential command? > No, as your example works here (beta 17.09.). I also tried your example at contextgarden (same beta) and it worked too (using Firefox). Maybe you also need \runMPTEXgraphicstrue (enabled in my cont-sys.tex)? Greetings, Peter > ==================== cut here ==================== > \runMPgraphicstrue > \setupcolors[state=start] > \starttext > \startreusableMPgraphic{a} > % _inline_specials_ := true; % had hopes for this line, but no luck > % next line taken as an example from mp-spec.mp > fill fullcircle scaled 10cm withcolor transparent(8,.3,red); > \stopreusableMPgraphic > > \placefigure[force,none]{}{\reuseMPgraphic{a}} > \stoptext > ==================== cut here ==================== > > The metapost output (testfile-mpgraph.1) always contains the following > color setting, no matter what arguments I pass to transparent() : > > 0.123 0.003 0.001 setrgbcolor > > Which is close to black. > > (This is all with ConTeXt 2006.08.08. The live ConTeXt gives a square > saying "undefined".) > > -Sanjoy > > `A society of sheep must in time beget a government of wolves.' > -- Bertrand de Jouvenal > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > >