From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47060 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: unwanted rgb-->gray conversion (mkiv) Date: Tue, 27 Jan 2009 18:32:58 +0100 Message-ID: <497F454A.8090506@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050401060609080503080005" X-Trace: ger.gmane.org 1233077776 10521 80.91.229.12 (27 Jan 2009 17:36:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 17:36:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 27 18:37:28 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1LRrsO-0004Ew-7c for gctc-ntg-context-518@m.gmane.org; Tue, 27 Jan 2009 18:37:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5A4B51FC14; Tue, 27 Jan 2009 18:36:06 +0100 (CET) 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 17783-04; Tue, 27 Jan 2009 18:34:08 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 783C41FBF9; Tue, 27 Jan 2009 18:34:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C9B411FBF9 for ; Tue, 27 Jan 2009 18:34:06 +0100 (CET) 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 20134-05 for ; Tue, 27 Jan 2009 18:33:02 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by ronja.ntg.nl (Postfix) with ESMTP id D4E0B1FBCC for ; Tue, 27 Jan 2009 18:33:01 +0100 (CET) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by filter3-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with SMTP id n0RHWxtg032183 for ; Tue, 27 Jan 2009 18:33:01 +0100 Original-Received: (qmail invoked by alias); 27 Jan 2009 17:32:59 -0000 Original-Received: from i577BF2F1.versanet.de (EHLO [192.168.1.3]) [87.123.242.241] by mail.gmx.net (mp007) with SMTP; 27 Jan 2009 18:32:59 +0100 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX1+C0vBU5jmCap4fa5j9cr0VFxQC2xP0QZOlyhRYUA fAIYTY7EpwGj1O User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.67,0.71 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.20; country=DE; region=01; city=Karlsruhe; latitude=49.0047; longitude=8.3858; http://maps.google.com/maps?q=49.0047,8.3858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 171288549 - 4ab366cf9a30 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:47060 Archived-At: This is a multi-part message in MIME format. --------------050401060609080503080005 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hi Hans, The attached example works fine with mkii (text and gfx both use RGB colors). Using mkiv reduces the colorspace of the graphic to GRAY. Sadly PDFX/-4 doesn't allow to mix color profiles of colorspace RGB with GRAY ones. So I'm forced to always use the RGB colorspace... Best wishes, Peter --------------050401060609080503080005 Content-Type: text/plain; name="reduction.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="reduction.tex" \setupcolors[state=start] \definecolor[rgbgray] [r=.5,g=.5,b=.5] \startuniqueMPgraphic{foo}{size} fill unitsquare xyscaled(\MPvar{size},\MPvar{size}) withcolor \MPcolor{rgbgray}; \stopuniqueMPgraphic \starttext \uniqueMPgraphic{foo}{size=5cm} \color[rgbgray] Gray text. \stoptext --------------050401060609080503080005 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --------------050401060609080503080005--