ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] lmt_shade fails
@ 2024-02-18 16:44 Keith McKay
  2024-02-19 13:15 ` [NTG-context] " Fabrice L
  0 siblings, 1 reply; 5+ messages in thread
From: Keith McKay @ 2024-02-18 16:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 897 bytes --]

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?

Best wishes

Keith McKay

[-- Attachment #1.2: Type: text/html, Size: 2384 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Re: lmt_shade fails
  2024-02-18 16:44 [NTG-context] lmt_shade fails Keith McKay
@ 2024-02-19 13:15 ` Fabrice L
  2024-02-19 18:10   ` Keith McKay
  0 siblings, 1 reply; 5+ messages in thread
From: Fabrice L @ 2024-02-19 13:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1739 bytes --]

Dear Keith,

> Le 18 févr. 2024 à 11:44, Keith McKay <mckaymeister@gmail.com> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 3568 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Re: lmt_shade fails
  2024-02-19 13:15 ` [NTG-context] " Fabrice L
@ 2024-02-19 18:10   ` Keith McKay
  2024-02-19 19:35     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Keith McKay @ 2024-02-19 18:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2522 bytes --]

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, <fabrice.alpha@gmail.com> wrote:

> Dear Keith,
>
> Le 18 févr. 2024 à 11:44, Keith McKay <mckaymeister@gmail.com> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 5487 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Re: lmt_shade fails
  2024-02-19 18:10   ` Keith McKay
@ 2024-02-19 19:35     ` Hans Hagen
  2024-02-20 10:33       ` Keith McKay
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2024-02-19 19:35 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Re: lmt_shade fails
  2024-02-19 19:35     ` Hans Hagen
@ 2024-02-20 10:33       ` Keith McKay
  0 siblings, 0 replies; 5+ messages in thread
From: Keith McKay @ 2024-02-20 10:33 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-20 10:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-18 16:44 [NTG-context] lmt_shade fails Keith McKay
2024-02-19 13:15 ` [NTG-context] " Fabrice L
2024-02-19 18:10   ` Keith McKay
2024-02-19 19:35     ` Hans Hagen
2024-02-20 10:33       ` Keith McKay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).