[NTG-context] Fwd: Using spotcolors in TikZ

Christian Prim christian.prim at gmx.ch
Thu Jan 29 21:04:16 CET 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150129/9a3db897/attachment.html>


More information about the ntg-context mailing list