Hello list I want to use spotcolors in a tikz-picture. Is this implemented? I get an error: Package pgf Error: Color test_line has an unsupported color model. MWE: (does not work) \usemodule[tikz] \setupcolors[rgb=no,cmyk=yes,spot=yes,state=start,overprint=yes] \definecolor[PantoneTwoNineFour][c=1,m=.56,y=0,k=.18] \definespotcolor[test_line][PantoneTwoNineFour][p=1] \definespotcolor[test_fill][PantoneTwoNineFour][p=0.5] \tikzset{mybox/.style={rectangle,rounded corners,align=center,thick,draw=test_line,fill=test_fill}} \starttext \starttikzpicture \node[mybox] at (0,0) {Test}; \stoptikzpicture \stoptext Thanks for helping me. Christian
Sorry to ask again. I have to print a book with just two spotcolors (PANTONE colors). The the pdf must just contain two colors and the tint of them. How can I do this, when I have a tikz-picture in the document? Thanks Christian ----------------------------------- original message: I want to use spotcolors in a tikz-picture. Is this implemented? I get an error: Package pgf Error: Color test_line has an unsupported color model. MWE: (does not work) \usemodule[tikz] \setupcolors[rgb=no,cmyk=yes,spot=yes,state=start,overprint=yes] \definecolor[PantoneTwoNineFour][c=1,m=.56,y=0,k=.18] \definespotcolor[test_line][PantoneTwoNineFour][p=1] \definespotcolor[test_fill][PantoneTwoNineFour][p=0.5] \tikzset{mybox/.style={rectangle,rounded corners,align=center,thick,draw=test_line,fill=test_fill}} \starttext \starttikzpicture \node[mybox] at (0,0) {Test}; \stoptikzpicture \stoptext Thanks for helping me. Christian
On 1/29/2015 9:04 PM, Christian Prim wrote:
Sorry to ask again.
I have to print a book with just two spotcolors (PANTONE colors). The the pdf must just contain two colors and the tint of them. How can I do this, when I have a tikz-picture in the document?
that will only work if tikz used the context (spot color) color interface cq. pdf resource interface but i have no clue how tikz colors work (in metafun you can use spot colors) 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)
-
Christian Prim
-
Hans Hagen