[NTG-context] transparency in latest beta (mlib)

2011-10-19 Thread Peter Rolf
Hi,

I just tested the latest beta (2011.10.19 00:02) and get some curious
results for transparent colors. For example


\nopdfcompression
\setupcolors[state=start] % mkii works
\startMPpage
fill unitsquare scaled 100 withcolor transparent(1,.5,red);
\stopMPpage



gives me an opaque(!) and very dark red (r=.12,a=1,t=1). Can someone
confirm this?


Regards, Peter



This is LuaTeX, Version beta-0.70.1-2011051907 (rev 4277)
___
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
___


Re: [NTG-context] transparency in latest beta (mlib)

2011-10-19 Thread luigi scarso
On Wed, Oct 19, 2011 at 5:00 PM, Peter Rolf indi...@gmx.net wrote:
 Hi,

 I just tested the latest beta (2011.10.19 00:02) and get some curious
 results for transparent colors. For example


 \nopdfcompression
 \setupcolors[state=start] % mkii works
 \startMPpage
    fill unitsquare scaled 100 withcolor transparent(1,.5,red);
 \stopMPpage



 gives me an opaque(!) and very dark red (r=.12,a=1,t=1). Can someone
 confirm this?
confirmed

-- 
luigi
___
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
___

Re: [NTG-context] transparency in latest beta (mlib)

2011-10-19 Thread Hans Hagen

On 19-10-2011 17:00, Peter Rolf wrote:

Hi,

I just tested the latest beta (2011.10.19 00:02) and get some curious
results for transparent colors. For example


\nopdfcompression
\setupcolors[state=start] % mkii works
\startMPpage
 fill unitsquare scaled 100 withcolor transparent(1,.5,red);
\stopMPpage



gives me an opaque(!) and very dark red (r=.12,a=1,t=1). Can someone
confirm this?


in meta-ini.mkiv delete these lines:


\startMPextensions
if unknown context_tool: input mp-tool; fi;
if unknown context_spec: input mp-spec; fi;
if unknown context_grph: input mp-grph; fi;
\stopMPextensions

(as it load the mpii spec file which redefines transparency to use old 
trickery)



-
  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
___


Re: [NTG-context] transparency in latest beta (mlib)

2011-10-19 Thread Peter Rolf
Am 19.10.2011 18:21, schrieb Hans Hagen:
 On 19-10-2011 17:00, Peter Rolf wrote:
 Hi,

 I just tested the latest beta (2011.10.19 00:02) and get some curious
 results for transparent colors. For example


 \nopdfcompression
 \setupcolors[state=start] % mkii works
 \startMPpage
  fill unitsquare scaled 100 withcolor transparent(1,.5,red);
 \stopMPpage



 gives me an opaque(!) and very dark red (r=.12,a=1,t=1). Can someone
 confirm this?
 
 in meta-ini.mkiv delete these lines:
 
 
 \startMPextensions
 if unknown context_tool: input mp-tool; fi;
 if unknown context_spec: input mp-spec; fi;
 if unknown context_grph: input mp-grph; fi;
 \stopMPextensions
 
 (as it load the mpii spec file which redefines transparency to use old
 trickery)

I see. Thanks for the quick fix! :-)

Peter
___
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
___