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
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 ___________________________________________________________________________________
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,
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
___________________________________________________________________________________
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 -----------------------------------------------------------------
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 ___________________________________________________________________________________
participants (3)
-
Fabrice L
-
Hans Hagen
-
Keith McKay