From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63555 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: definition and separation of colors Date: Tue, 16 Nov 2010 21:37:50 +0100 Message-ID: <6B3E8A9C-2016-4483-83AF-D3BAB999139A@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1289939887 14552 80.91.229.12 (16 Nov 2010 20:38:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2010 20:38:07 +0000 (UTC) To: mailing ConTeXt users list for Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 16 21:38:03 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PISHy-0003eZ-CX for gctc-ntg-context-518@m.gmane.org; Tue, 16 Nov 2010 21:38:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CB4D7CA881; Tue, 16 Nov 2010 21:38:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LPeFKzqc2BZH; Tue, 16 Nov 2010 21:37:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 77AA5CA870; Tue, 16 Nov 2010 21:37:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E7BF6CA870 for ; Tue, 16 Nov 2010 21:37:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lXm808UZKcAM for ; Tue, 16 Nov 2010 21:37:54 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 860A8CA86C for ; Tue, 16 Nov 2010 21:37:54 +0100 (CET) Original-Received: from turan.fiee.net (turan.fiee.net [87.230.77.106]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAGKbrU5014313 for ; Tue, 16 Nov 2010 21:37:54 +0100 X-No-Auth: unauthenticated sender Original-Received: from turan.fiee.net (lvps87-230-77-106.dedicated.hosteurope.de [127.0.0.1]) by turan.fiee.net (Postfix) with ESMTP id C6B642E144008 for ; Tue, 16 Nov 2010 21:37:52 +0100 (CET) Original-Received: from [10.128.9.9] (227-84.76-83.cust.bluewin.ch [83.76.84.227]) by turan.fiee.net (Postfix) with ESMTP for ; Tue, 16 Nov 2010 21:37:52 +0100 (CET) X-Mailer: Apple Mail (2.936) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=87.230.77.106; country=DE; region=07; city=Host; latitude=51.6500; longitude=6.1833; http://maps.google.com/maps?q=51.6500,6.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bDvUBRFg - 77484732c60e - 20101116 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:63555 Archived-At: I stumpled upon a ambiguous color definition in my automatically generated documents: \definecolor[Custom][c=0,m=1,y=0,k=0,r=0,g=0,b=0,] I.e. the color is defined in CMYK mode as 100% magenta and in RGB as 0/0/0 black. In the PDF the color is shown as black, according to Acrobat's preflight defined as RGB 0/0/0; CMYK separation depends on the profile, e.g.: Generic CMYK: 76/71/65/81 ISO Coated FOGRA27: 86/85/79/100 Euroscale Coated: 95/83/82/90 (I didn't expect the Euroscale Coated profiles to differ that much!) If I say \setupcolors[rgb=no], I get CMYK 100/100/100/0. This is not a good separation algorithm - GCR or UCR would be nice, but at least RGB 0/0/0 should render as CMYK 0/0/0/100. (Perhaps you could include something like littleCMS in LuaTeX and even deal with images?) It doesn't change if I define in different order, like \definecolor[Custom][r=0,g=0,b=0,c=0,m=1,y=0,k=0,] I get magenta only if I leave out the RGB values. It seems that in ConTeXt the RGB definition always takes precedence? Is this intended? Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________