Re: [NTG-context] withshade (mlib)

2008-05-08 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: vardef define_linear_shade (expr a, b, ca, cb) = hide (_defined_cs_ := _defined_cs_ + 1 ; _defined_cs_pre_ [_defined_cs_] := ls ; _defined_cs_post_[_defined_cs_] := 0 1 decimal shadefactor colordecimals ca

Re: [NTG-context] withshade (mlib)

2008-05-07 Thread Hans Hagen
Peter Rolf wrote: vardef define_linear_shade (expr a, b, ca, cb) = hide (_defined_cs_ := _defined_cs_ + 1 ; _defined_cs_pre_ [_defined_cs_] := ls ; _defined_cs_post_[_defined_cs_] := 0 1 decimal shadefactor colordecimals ca ddecimal (a shifted

Re: [NTG-context] withshade (mlib)

2008-05-06 Thread Peter Rolf
Peter Rolf schrieb: Hans Hagen schrieb: Peter Rolf wrote: Hi, there are some problems in combination with the 'withshade' operator in mlib. this must be patched in mp-mlib.mp (':=' instead of '='; too much lua ;) indeed i still get an error after this patch, because '_defined_cs_' is

Re: [NTG-context] withshade (mlib)

2008-04-28 Thread Hans Hagen
Peter Rolf wrote: Hi, there are some problems in combination with the 'withshade' operator in mlib. this must be patched in mp-mlib.mp (':=' instead of '='; too much lua ;) indeed i still get an error after this patch, because '_defined_cs_' is not increased somehow (donno why, not

Re: [NTG-context] withshade (mlib)

2008-04-28 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi, there are some problems in combination with the 'withshade' operator in mlib. this must be patched in mp-mlib.mp (':=' instead of '='; too much lua ;) indeed i still get an error after this patch, because '_defined_cs_' is not increased