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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________