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). Best wishes, Peter
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 -----------------------------------------------------------------
Am 07.05.2012 10:05, schrieb Hans Hagen:
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
OK. I simply used the multitone example (spot.tex) from the Wiki. http://wiki.contextgarden.net/Colors#Multitones I have updated the outdated example (12/2004), but I can't tell much about spot or multitone colors (never used them). @all: feel free to add some sentences Peter
On 7-5-2012 12:39, Peter Rolf wrote:
OK. I simply used the multitone example (spot.tex) from the Wiki.
I've added a catch and issue a warning when something is wrong. Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Peter Rolf