ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* definition and separation of colors
@ 2010-11-16 20:37 Henning Hraban Ramm
  2010-11-17  0:11 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Henning Hraban Ramm @ 2010-11-16 20:37 UTC (permalink / raw)
  To: mailing ConTeXt users list for

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-17  0:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-16 20:37 definition and separation of colors Henning Hraban Ramm
2010-11-17  0:11 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).