On 24-4-2012 18:03, Peter Rolf wrote:
Hi,

just playing around with spot colors and run into this problem.
tested with 23.04.2012 and ??.11.2011, same result. the color definition
leads to an invalid pdf.


% multitone.tex----
\nopdfcompression
\setuppagenumber[state=stop]
\definemultitonecolor[combicolor] [blue=.12,yellow=.28]
[c=.1,m=.1,y=.3,k=.1]

\starttext
\null
\stoptext
%------------------

I also attached the original example (spot.tex).

You need to define the colorants as spot color first. It happens that yellow is an official built in colorant but blue isn't.

\nopdfcompression

\definecolor         [xcyan]   [c=1]
\definecolor         [xmagenta][m=1]
\definecolor         [xyellow] [y=1]

\definespotcolor     [scyan]   [xcyan]   [p=1]
\definespotcolor     [smagenta][xmagenta][p=1]
\definespotcolor     [syellow] [xyellow] [p=1]

\definemultitonecolor[scombi] [xcyan=.2,xmagenta=.4,xyellow=.6][c=.2,m=.4,y=.6]

\startTEXpage
    \hbox \bgroup
        \blackrule[color=scyan,   width=1cm,height=1cm,depth=0cm]%
        \blackrule[color=smagenta,width=1cm,height=1cm,depth=0cm]%
        \blackrule[color=syellow, width=1cm,height=1cm,depth=0cm]%
        \blackrule[color=scombi,  width=1cm,height=1cm,depth=0cm]%
    \egroup
\stopTEXpage


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to