[NTG-context] Re: lmt_shade fails

2024-02-20 Thread Keith McKay

Thanks Hans!

Keith

On 19/02/2024 19:35, Hans Hagen wrote:

On 2/19/2024 7:10 PM, Keith McKay wrote:
Thanks for the reply Fabrice. Looks like something changed in the 
recent update. I'm sure Hans will pick it up.
next upload (when mid cycles were introduced we lost an end one in 
some cases)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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 / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net 
(mirror)

archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___ 


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: lmt_shade fails

2024-02-19 Thread Hans Hagen

On 2/19/2024 7:10 PM, Keith McKay wrote:
Thanks for the reply Fabrice. Looks like something changed in the recent 
update. I'm sure Hans will pick it up.
next upload (when mid cycles were introduced we lost an end one in some 
cases)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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 / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: lmt_shade fails

2024-02-19 Thread Keith McKay
Thanks for the reply Fabrice. Looks like something changed in the recent
update. I'm sure Hans will pick it up.
Best wishes
Keith McKay


On Mon, 19 Feb 2024, 13:21 Fabrice L,  wrote:

> Dear Keith,
>
> Le 18 févr. 2024 à 11:44, Keith McKay  a écrit :
>
> Hi all
>
> I went to use the lmt_shade function and it fails with two error messages.
> the first one is:
> *metafun > log > error: Not a cycle*
> followed by lots of trace messages, then:
> *metafun > log > That contour should have ended with '.. cycle' or '&
> cycle'. So I'll not change*
> *anything just now.*
> The MWE I used is as follows:
> \starttext
> \startMPpage
> definecolor [ name = "MyColor3", r = uniformdeviate(1), g =
> uniformdeviate(1), b = uniformdeviate(1) ] ;
> definecolor [ name = "MyColor4", r = uniformdeviate(1), g =
> uniformdeviate(1), b = uniformdeviate(1) ] ;
> draw lmt_shade [
> path = fullsquare scaled 5cm,
> direction = "up",
> alternative = "linear",
> colors = { "red", "green" },
> ];
> \stopMPpage
> \stoptext
>
>  I'm using:
>
> *system  > ConTeXt  ver: 2024.02.14 13:38 LMTX  fmt: 2024.2.15
> int: english/english*
>
> on a mac mini M1.
>
> Any thougths?
>
>
> On an Mac running  ConTeXt  ver: 2023.09.26 18:19 LMTX  fmt: 2023.12.11 ,
> this works perfectly.
>
> Best wishes
>
> Keith McKay
>
> Fabrice.
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
>
> ___
>
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: lmt_shade fails

2024-02-19 Thread Fabrice L
Dear Keith,

> Le 18 févr. 2024 à 11:44, Keith McKay  a écrit :
> 
> Hi all
> I went to use the lmt_shade function and it fails with two error messages. 
> the first one is:
> 
> metafun > log > error: Not a cycle
> 
> followed by lots of trace messages, then:
> 
> metafun > log > That contour should have ended with '.. cycle' or '& 
> cycle'. So I'll not change
> anything just now.
> 
> The MWE I used is as follows:
> 
> \starttext
> \startMPpage
> definecolor [ name = "MyColor3", r = uniformdeviate(1), g = 
> uniformdeviate(1), b = uniformdeviate(1) ] ;
> definecolor [ name = "MyColor4", r = uniformdeviate(1), g = 
> uniformdeviate(1), b = uniformdeviate(1) ] ;
> draw lmt_shade [
> path = fullsquare scaled 5cm,
> direction = "up",
> alternative = "linear",
> colors = { "red", "green" },
> ];
> \stopMPpage
> \stoptext
>  I'm using:
> 
> system  > ConTeXt  ver: 2024.02.14 13:38 LMTX  fmt: 2024.2.15  int: 
> english/english
> 
> on a mac mini M1.
> 
> Any thougths?
> 

On an Mac running  ConTeXt  ver: 2023.09.26 18:19 LMTX  fmt: 2023.12.11 , this 
works perfectly. 
> Best wishes
> 
> Keith McKay
> 
Fabrice.
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___