ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Using spotcolors in TikZ
@ 2015-01-24  9:20 Christian Prim
  2015-01-29 20:04 ` Fwd: " Christian Prim
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Prim @ 2015-01-24  9:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 649 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 930 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

* Fwd: Using spotcolors in TikZ
  2015-01-24  9:20 Using spotcolors in TikZ Christian Prim
@ 2015-01-29 20:04 ` Christian Prim
  2015-01-29 23:13   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Prim @ 2015-01-29 20:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 925 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1513 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

* Re: Fwd: Using spotcolors in TikZ
  2015-01-29 20:04 ` Fwd: " Christian Prim
@ 2015-01-29 23:13   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2015-01-29 23:13 UTC (permalink / raw)
  To: ntg-context

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
-----------------------------------------------------------------
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2015-01-29 23:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-24  9:20 Using spotcolors in TikZ Christian Prim
2015-01-29 20:04 ` Fwd: " Christian Prim
2015-01-29 23:13   ` 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).