Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Hans Hagen
On 1/28/2016 2:02 PM, Marco Patzer wrote: On Thu, 28 Jan 2016 12:29:46 +0100 Hans Hagen wrote: How to make transparent shadings work with the new mechanism? withtransparency (1,.5) next beta \definecolor [trans] [a=multiply, t=.5, g=.5] \startMPpage fill

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Hans Hagen
On 1/28/2016 3:34 PM, Marco Patzer wrote: On Thu, 28 Jan 2016 14:45:13 +0100 Hans Hagen wrote: On 1/28/2016 1:53 PM, Marco Patzer wrote: On Thu, 28 Jan 2016 12:33:39 +0100 Hans Hagen wrote: How to make transparent shadings work with the new mechanism?

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Marco Patzer
On Thu, 28 Jan 2016 18:26:28 +0100 Hans Hagen wrote: > On 1/28/2016 3:34 PM, Marco Patzer wrote: > > On Thu, 28 Jan 2016 14:45:13 +0100 > > Hans Hagen wrote: > > > >> On 1/28/2016 1:53 PM, Marco Patzer wrote: > >>> On Thu, 28 Jan 2016 12:33:39 +0100 > >>> Hans

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Hans Hagen
On 1/27/2016 10:05 PM, Marco Patzer wrote: Hi, some months ago the withshading, withfromshadecolor etc. have apparently been replaced by the more general withshademethod, withshadevector, withshadecolors, etc. methods. I have issues converting the old withshading code to the withshademethod

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Marco Patzer
On Thu, 28 Jan 2016 12:33:39 +0100 Hans Hagen wrote: > >>> How to make transparent shadings work with the new mechanism? > >> > >> withtransparency (1,.5) > > > > However, this makes the entire shade transparent. How to shade from > > one colour to transparent using

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Marco Patzer
On Thu, 28 Jan 2016 12:29:46 +0100 Hans Hagen wrote: > >> How to make transparent shadings work with the new mechanism? > > > >withtransparency (1,.5) > > next beta > > \definecolor [trans] [a=multiply, t=.5, g=.5] > > \startMPpage > fill fullcircle scaled 12cm

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Marco Patzer
On Thu, 28 Jan 2016 09:43:24 +0100 Hans Hagen wrote: > On 1/27/2016 10:05 PM, Marco Patzer wrote: > > The new code appears to work in general, but only if no shading to > > transparent is being used: > > > > \definecolor [trans] [a=multiply, t=.5, s=.5] > > \starttext > >

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Hans Hagen
On 1/28/2016 9:43 AM, Hans Hagen wrote: On 1/27/2016 10:05 PM, Marco Patzer wrote: Hi, some months ago the withshading, withfromshadecolor etc. have apparently been replaced by the more general withshademethod, withshadevector, withshadecolors, etc. methods. I have issues converting the old

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Hans Hagen
On 1/28/2016 11:45 AM, Marco Patzer wrote: On Thu, 28 Jan 2016 09:43:24 +0100 Hans Hagen wrote: On 1/27/2016 10:05 PM, Marco Patzer wrote: The new code appears to work in general, but only if no shading to transparent is being used: \definecolor [trans] [a=multiply, t=.5,

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Marco Patzer
On Thu, 28 Jan 2016 14:45:13 +0100 Hans Hagen wrote: > On 1/28/2016 1:53 PM, Marco Patzer wrote: > > On Thu, 28 Jan 2016 12:33:39 +0100 > > Hans Hagen wrote: > > > > How to make transparent shadings work with the new mechanism? > >

Re: [NTG-context] Shading to transparent using withshademethod

2016-01-28 Thread Hans Hagen
On 1/28/2016 1:53 PM, Marco Patzer wrote: On Thu, 28 Jan 2016 12:33:39 +0100 Hans Hagen wrote: How to make transparent shadings work with the new mechanism? withtransparency (1,.5) However, this makes the entire shade transparent. How to shade from one colour to

[NTG-context] Shading to transparent using withshademethod

2016-01-27 Thread Marco Patzer
Hi, some months ago the withshading, withfromshadecolor etc. have apparently been replaced by the more general withshademethod, withshadevector, withshadecolors, etc. methods. I have issues converting the old withshading code to the withshademethod version. The old code had no problems shading