On Sat, Oct 4, 2008 at 2:14 PM, Diego Depaoli <trebestie@gmail.com> wrote:
2008/10/3 Hans Hagen <pragma@wxs.nl>:
> Diego Depaoli wrote:
>> Hi all,
>> from metafun manual, page 157, I took this example
>>
>> \startuniqueMPgraphic{copyright}
>> picture p ; p := btex COPYRIGHT etex rotated 90 ;
>> setbounds p to boundingbox p enlarged 1pt ;
>> draw p withcolor .8white ;
>> xyscale_currentpicture(\the\leftmarginwidth,\the\textheight) ;
>> \stopuniqueMPgraphic
>> \setuptexttexts [margin] [] [\uniqueMPgraphic{copyright}]
>> \starttext
>> \input knuth
>> \stoptext
>>
>> but compiling it I get some trouble
>>
>> texexec --pdf works as expected
>> texexec --lua drops colors (COPYRIGHT is black)
>
> is ok, use btex color[white]{COPYRIGHT} etex instead
(prepend \setupcolors[state=start])

btex \color[gray]{COPYRIGHT} etex %% gray
btex \color[white]{COPYRIGHT} etex %% white (hard to see with a white background)

--
luigi