![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
9 Nov
2008
9 Nov
'08
6:35 a.m.
Am 09.11.2008 um 13:27 schrieb Yue Wang:
Hi Hans:
It seems that \definecolor[ foobar][some transparent color] does not work in MKIV. I attach the test file and result pdf in the attachment. Can you take a look? thanks!
It works but in normal text but if you use MetaPost graphics only the first text is transparent. \setupcolors[state=start] \definecolor[tred][a=1,t=.5,r=1] \starttext \startluacode tex.sprint("\\startMPcode") for i=1,5 do tex.sprint('label(textext("\\definedfont[Sans sa ' .. math.random(1,4) .. ']%') tex.sprint('\\color[tred]{1}"),(10*' .. i .. ',0)) ;') end tex.sprint("\\stopMPcode") \stopluacode \stoptext Wolfgang