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 ___________________________________________________________________________________