Re: [NTG-context] another MetaPost question (this time on ConTeXt->MetaPost color transfer)

2021-07-22 Thread Rudd, Kevin
ed fill t withcolor p % new (and old) draw s withpen pencircle scaled 5pt withcolor c; enddef; \stopMPdefinitions \starttext \definespotcolor[Thin:orange][orange][p=1,a=normal,t=0.5] \color[orange]{hello} \startalignment[center]

[NTG-context] another MetaPost question (this time on ConTeXt->MetaPost

2021-07-22 Thread Rudd, Kevin
draw s withpen pencircle scaled 5pt withcolor c; enddef; \stopMPdefinitions \starttext \definespotcolor[Thin:orange][orange][p=1,a=normal,t=0.5] \color[orange]{hello} \startalignment[center] \startplacefigure \startMPcode Test [ prefix = "Thin", color = &q

Re: [NTG-context] color question

2020-08-24 Thread Henning Hraban Ramm
have predefined color names like lighgray already been defined in, say > cmyk terms behind the scenes, or must I instead > \definecolor[lightgray][c=10,m=7,y=5,k=0], (or perhaps \definespotcolor > with those dimensions, or do I need both)? First: Color parts use decimal numb

[NTG-context] color question

2020-08-23 Thread jbf
the scenes, or must I instead \definecolor[lightgray][c=10,m=7,y=5,k=0],   (or perhaps \definespotcolor with those dimensions, or do I need both)? Julian ___ If your question is of interest to others as well, please

Re: [NTG-context] colorizing pictures

2019-03-19 Thread Henning Hraban Ramm
gt;> >>> \definecolor [my-blue] [c=1,m=.38,y=0,k=.64] % pms 2965 uncoated m >>> \definecolor [my-yellow] [c=0,m=.28,y=1,k=.06] % pms 124 uncoated m >>> >>> \definespotcolor [my-blue-100] [my-blue] [p=1] >>> \definespotcolor [my-yellow-100]

Re: [NTG-context] colorizing pictures

2019-03-19 Thread Hans Hagen
=.06] % pms 124 uncoated m \definespotcolor [my-blue-100] [my-blue] [p=1] \definespotcolor [my-yellow-100] [my-yellow] [p=1] \definespotcolor [my-blue-50][my-blue] [p=.5] \definespotcolor [my-yellow-50] [my-yellow] [p=.5] \definemultitonecolor [my-mix] [my-blue=.12,my-yellow=.28] [c=.1

Re: [NTG-context] colorizing pictures

2019-03-19 Thread Henning Hraban Ramm
% pms 124 uncoated m > > \definespotcolor [my-blue-100] [my-blue] [p=1] > \definespotcolor [my-yellow-100] [my-yellow] [p=1] > \definespotcolor [my-blue-50][my-blue] [p=.5] > \definespotcolor [my-yellow-50] [my-yellow] [p=.5] > > \definemultitonecolor [my-mix] [my-blue=.12,m

Re: [NTG-context] colorizing pictures

2019-03-19 Thread Hans Hagen
,m=.38,y=0,k=.64] % pms 2965 uncoated m \definecolor [my-yellow] [c=0,m=.28,y=1,k=.06] % pms 124 uncoated m \definespotcolor [my-blue-100] [my-blue] [p=1] \definespotcolor [my-yellow-100] [my-yellow] [p=1] \definespotcolor [my-blue-50][my-blue] [p=.5] \definespotcolor [my-yellow-50] [my-

Re: [NTG-context] transparent colors

2016-05-20 Thread Hans Hagen
? The usefulness of this comes from the fact that for things like \definecolor[lighthoneydew][r=.894117,g=.95,b=.894117] the numbers need not be feed more than once. \starttext \definespotcolor[redA][red][p=1] \definespotcolor[redB][red][p=.5] \definespotcolor[redC][redB][t=.5,a=1]

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-14 Thread Christian Prim
Thanks Hans for the fix! I have noticed, that spotcolors can be used in tikz, but they are darker. Is that wanted or a bug? MWE: \usemodule[tikz] \starttext \definecolor[gruen][c=0.52,y=0.86] \definespotcolor[mycol][gruen][p=1] \definespotcolor[mycol_h][gruen][p=0.5] \definespotcolor[mycol_q

[NTG-context] Fwd: Using spotcolors in TikZ

2015-01-29 Thread Christian Prim
] \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

[NTG-context] Using spotcolors in TikZ

2015-01-24 Thread Christian Prim
][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

Re: [NTG-context] Feature Request: define colour in relation to existing colour

2013-08-21 Thread Hans Hagen
On 8/21/2013 2:25 AM, Thangalin wrote: Hi, What would it take to extend \definecolor so that: \definecolor[ColourA][ColourB][t=0.5, a=1] defines a new colour (ColourB) based on an existing colour (ColourA)? I know that \definespotcolor[ColourA][ColourB][t=0.5, a=1] works, but it seems

Re: [NTG-context] Feature Request: define colour in relation to existing colour

2013-08-21 Thread Marco Patzer
On 2013–08–21 Hans Hagen wrote: On 8/21/2013 2:25 AM, Thangalin wrote: Hi, What would it take to extend \definecolor so that: \definecolor[ColourA][ColourB][t=0.5, a=1] defines a new colour (ColourB) based on an existing colour (ColourA)? I know that \definespotcolor[ColourA

Re: [NTG-context] Feature Request: define colour in relation to existing colour

2013-08-21 Thread Hans Hagen
know that \definespotcolor[ColourA][ColourB][t=0.5, a=1] works, but it seems like \definecolor would also be a natural fit. hm, afaik no one ever needed that (normally one defines colors once on top of the document and there are seldom many of them) anyhow, as general inheritance is pretty fuzzy i.e

Re: [NTG-context] Feature Request: define colour in relation to existing colour

2013-08-21 Thread Aditya Mahajan
that \definespotcolor[ColourA][ColourB][t=0.5, a=1] works, but it seems like \definecolor would also be a natural fit. hm, afaik no one ever needed that (normally one defines colors once on top of the document and there are seldom many of them) anyhow, as general inheritance is pretty fuzzy i.e

Re: [NTG-context] Feature Request: define colour in relation to existing colour

2013-08-21 Thread Thangalin
\definenamedcolor \definespotcolor \definemultitonecolor \defineprocesscolor That is a little confusing. I can understand a speed requirement, but surely that can be taken into consideration beneath the definition? \definecolor[A][r=1, g=0, b=0] \definecolor[B][A][a=1, t=0.5] That seems

Re: [NTG-context] Feature Request: define colour in relation to existing colour

2013-08-21 Thread Hans Hagen
agree with Marco: Are you sure it's a good idea to add another colour definition mechanism? Then we have \definecolor \defineglobalcolor \definenamedcolor \definespotcolor \definemultitonecolor \defineprocesscolor As said before

[NTG-context] Feature Request: define colour in relation to existing colour

2013-08-20 Thread Thangalin
Hi, What would it take to extend \definecolor so that: \definecolor[ColourA][ColourB][t=0.5, a=1] defines a new colour (ColourB) based on an existing colour (ColourA)? I know that \definespotcolor[ColourA][ColourB][t=0.5, a=1] works, but it seems like \definecolor would also be a natural fit

Re: [NTG-context] No cmyk support in MKIV (TexLive 2012 version)?

2012-09-10 Thread Hans Hagen
[PantoneTwoNineFour] [c=1,m=.68,y=7,k=.28] y=1 = y=.7 \definecolor [PantoneThreeZeroZero] [c=1,m=.42,y=0,k=0] % Define tints of spot colors to be used in document for coloring text \definespotcolor [DarkBlue] [PantoneTwoNineFour] [p=1,e=PANTONE 294 PC] \definespotcolor

[NTG-context] No cmyk support in MKIV (TexLive 2012 version)?

2012-09-09 Thread Bill Meahan
of spot colors to be used in document for coloring text \definespotcolor [DarkBlue] [PantoneTwoNineFour] [p=1,e=PANTONE 294 PC] \definespotcolor [LightBlue] [PantoneThreeZeroZero] [p=1,e=PANTONE 300 PC] I do get the DarkBlue in my pdf output but no sign of the LightBlue anywhere

Re: [NTG-context] glyph outlines

2012-07-18 Thread Jan Kula
. Here is the mkiv answer: % define the spot color for the plotter \definecolor[CutContour][c=0,m=1,y=0,k=0] \definespotcolor[Contour][CutContour][p=1] % here is the outline feature \defineeffect[outline][alternative=outer,rulethickness=.25pt] \starttext \startcolor[Contour] \definedfont[Serif

Re: [NTG-context] glyph outlines

2012-07-18 Thread Marco
On 2012-07-18 Jan Kula jano.k...@gmail.com wrote: Here is the mkiv answer: % define the spot color for the plotter \definecolor[CutContour][c=0,m=1,y=0,k=0] \definespotcolor[Contour][CutContour][p=1] % here is the outline feature \defineeffect[outline][alternative=outer,rulethickness

Re: [NTG-context] multitone color problem

2012-05-07 Thread Hans Hagen
. \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

Re: [NTG-context] multitone color problem

2012-05-07 Thread Peter Rolf
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

[NTG-context] shading

2011-05-18 Thread Hans Hagen
uncoated m \definespotcolor [blue-0] [blueish] [p=0.1] \definespotcolor [blue-50][blueish] [p=0.5] \definespotcolor [blue-100] [blueish] [p=0.9] \definespotcolor [yellow-0] [yellowish] [p=0.1] \definespotcolor [yellow-50] [yellowish] [p=0.5] \definespotcolor [yellow-100] [yellowish

[NTG-context] MP spot color in gradient - help!

2011-05-17 Thread Duncan Hothersall
printer wants it defined as a spot ink, and when I do this: \definecolor[PantoneThreeOneFourFive][c=1,m=0,y=.19,k=.23] \definespotcolor[TAXBgreenthirty][PantoneThreeOneFourFive][p=.3] the gradient turns to black instead of green. (The spot colour definition works fine in the rest of the document

Re: [NTG-context] MP spot color in gradient - help!

2011-05-17 Thread Henning Hraban Ramm
Am 2011-05-17 um 12:24 schrieb Duncan Hothersall: but, inevitably, my printer wants it defined as a spot ink, and when I do this: \definecolor[PantoneThreeOneFourFive][c=1,m=0,y=.19,k=.23] \definespotcolor[TAXBgreenthirty][PantoneThreeOneFourFive][p=.3] the gradient turns to black instead

Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-12-01 Thread Michael Murphy
to reverse this behaviour? PS I've tried using spot colors in context, but that doesn't seem to work: \definespotcolor[mycolor][red][p=.1] -- Michael Murphy MPhys michael.mur...@uni-ulm.de Institute für Quanteninformationsverarbeitung Room N25/4409 Universität Ulm Albert-Einstein-Allee 11 89081 Ulm

[NTG-context] Spot colors in mkiv

2010-05-12 Thread Taco Hoekwater
Hi Hans, Is there a nice way to get spot color names into the PDF in mkiv? I now have: {\catcode`\#=12 \gdef\hash{#}} \definecolor[PANTONE\hash 4625][c=0,m=0.6,y=1,k=0.79] \definespotcolor[dark][PANTONE\hash 4625][p=1] but that does not really deserve a price for elegance. Best wishes

Re: [NTG-context] Spot colors in mkiv

2010-05-12 Thread luigi scarso
On Wed, May 12, 2010 at 12:55 PM, Taco Hoekwater t...@elvenkind.com wrote: Hi Hans, Is there a nice way to get spot color names into the PDF in mkiv? I now have:  {\catcode`\#=12 \gdef\hash{#}}  \definecolor[PANTONE\hash 4625][c=0,m=0.6,y=1,k=0.79]  \definespotcolor[dark][PANTONE\hash

Re: [NTG-context] Spot colors in mkiv

2010-05-12 Thread Hans Hagen
On 12-5-2010 12:55, Taco Hoekwater wrote: Hi Hans, Is there a nice way to get spot color names into the PDF in mkiv? I now have: {\catcode`\#=12 \gdef\hash{#}} \definecolor[PANTONE\hash 4625][c=0,m=0.6,y=1,k=0.79] \definespotcolor[dark][PANTONE\hash 4625][p=1] but that does not really

Re: [NTG-context] Duotones with spot colors

2009-07-09 Thread Piotr Kopszak
\definecolor [blue] [c=1, m=.38, y=0, k=.64] \definecolor [yellow] [c=0, m=.28, y=1, k=.06] \definespotcolor [blue-100] [blue] [p=1] \definespotcolor [yellow-100] [yellow] [p=1] \definemultitonecolor [combicolor] [blue=.12, yellow=.28] [c=.1, m=.1, y=.3, k=.1] \definemultitonecolor

Re: [NTG-context] Weighted colors in MkIV

2008-11-30 Thread Wolfgang Schuster
,spot=yes] % rgb= no needed in MkII \setupcolor [hex] \definecolor[PantoneOneEightSeven][h=C40F2F,e=Pantone 187 U] \definespotcolor[dtkred] [PantoneOneEightSeven][p=1.0] \definespotcolor[dtkredlight][PantoneOneEightSeven][p=0.7] \starttext \blackrule[width=4cm,height=4cm,color

[NTG-context] Weighted colors in MkIV

2008-11-26 Thread Wolfgang Schuster
Hi, in MkIV there is a problem when I set tints for a color. This is a complete minimal example of my setup: \setupcolors[state=start,rgb=no,cmyk=yes,spot=yes] % rgb= no needed in MkII \setupcolor [hex] \definecolor[PantoneOneEightSeven][h=C40F2F,e=Pantone 187 U] \definespotcolor[dtkred

Re: [NTG-context] \definecolor

2008-09-25 Thread Wolfgang Werners-Lucchini
isn't there a three-parameter version of \definecolor ? It doesn't work. \setupcolors[state=start] \definecolor [MyBlue][blue][p=.2] \starttext \color[MyBlue]{Bla} \stoptext \definespotcolor (three args is too messy) Ok! Then there are a lot of wiki-pages wrong. Who

Re: [NTG-context] \definecolor

2008-09-25 Thread Hans Hagen
Wolfgang Werners-Lucchini wrote: isn't there a three-parameter version of \definecolor ? It doesn't work. \setupcolors[state=start] \definecolor [MyBlue][blue][p=.2] \starttext \color[MyBlue]{Bla} \stoptext \definespotcolor (three args is too messy) Ok! Then there are a lot of wiki

Re: [NTG-context] \definecolor

2008-09-25 Thread Wolfgang Werners-Lucchini
isn't there a three-parameter version of \definecolor ? It doesn't work. \setupcolors[state=start] \definecolor [MyBlue][blue][p=.2] \starttext \color[MyBlue]{Bla} \stoptext \definespotcolor (three args is too messy) Ok! Then there are a lot of wiki-pages wrong. Who

Re: [NTG-context] \definecolor

2008-09-24 Thread Hans Hagen
Wolfgang Werners-Lucchini wrote: Hallo, isn't there a three-parameter version of \definecolor ? It doesn't work. \setupcolors[state=start] \definecolor [MyBlue][blue][p=.2] \starttext \color[MyBlue]{Bla} \stoptext \definespotcolor (three args is too messy