no greyscales in MetaFun any more?
![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Hi Hans et al., all my greys are black: % MWE: \startMPpage fill unitsquare scaled 10mm withcolor .5; \stopMPpage % real life example: \startMPpage % grayscale squares for s=5 step 5 until 95: numeric c; c := s/100; fill unitsquare scaled 5mm shifted (0,(s-5)*mm) withcolor c; label.lft(100-s, (0, (s-2.5)*mm)); endfor; \stopMPpage This used to work with previous LMTX versions. Hraban
![](https://secure.gravatar.com/avatar/ed6f43113e3f1cee031ebd13654fc703.jpg?s=120&d=mm&r=g)
On 7/17/2022 9:52 PM, Henning Hraban Ramm via ntg-context wrote:
Hi Hans et al.,
all my greys are black:
% MWE: \startMPpage fill unitsquare scaled 10mm withcolor .5; \stopMPpage
% real life example: \startMPpage % grayscale squares for s=5 step 5 until 95: numeric c; c := s/100; fill unitsquare scaled 5mm shifted (0,(s-5)*mm) withcolor c; label.lft(100-s, (0, (s-2.5)*mm)); endfor; \stopMPpage
This used to work with previous LMTX versions. fixed in next upload
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/6e50a7aa57f5569d881f204f124d96ef.jpg?s=120&d=mm&r=g)
On Sun, 17 Jul 2022 23:46:36 +0200
Hans Hagen via ntg-context
On 7/17/2022 9:52 PM, Henning Hraban Ramm via ntg-context wrote:
Hi Hans et al.,
all my greys are black:
% MWE: \startMPpage fill unitsquare scaled 10mm withcolor .5; \stopMPpage
% real life example: \startMPpage % grayscale squares for s=5 step 5 until 95: numeric c; c := s/100; fill unitsquare scaled 5mm shifted (0,(s-5)*mm) withcolor c; label.lft(100-s, (0, (s-2.5)*mm)); endfor; \stopMPpage
This used to work with previous LMTX versions. fixed in next upload
Is this related? (regression: uniqueMPgraphic drops color) \startuniqueMPgraphic{red} draw textext("red?") withcolor red ; \stopuniqueMPgraphic \starttext \startMPcode draw textext("red!") withcolor red ; \stopMPcode \uniqueMPgraphic{red} \stoptext Alan
participants (3)
-
Alan
-
Hans Hagen
-
Henning Hraban Ramm