olivier Turlier wrote:
I was trying to compile Program-sample.tex because I find the transparent white frame over the grey background very nice to see for a pure electronic pdf. In the same range, the vit Zyka font demo catalog
Sorry for not answering for such a long time. Please try the following code: \setupcolors[state=start] \startuseMPgraphic{bgnd} StartPage; linear_shade(llcorner Page -- urcorner Page -- ulcorner Page -- cycle, 2, 0.2[red,green], 0.8[red,green]); linear_shade(llcorner Page -- lrcorner Page -- urcorner Page -- cycle, 2, 0.2[green,red], 0.8[green, red]); BoundPageAreas; \stopuseMPgraphic \defineoverlay[bgnd][\useMPgraphic{bgnd}] \setupbackgrounds[page][background=bgnd] \startuseMPgraphic{brighten} StartPage; fill Field[Text][Text] enlarged 2pt withcolor transparent(1, 0.5, white); BoundPageAreas; \stopuseMPgraphic \defineoverlay[brighten][\useMPgraphic{brighten}] \setupbackgrounds[text][background=brighten,backgroundoffset=2pt] \starttext \input tufte \stoptext I'm getting a displaced background this way (leaving the backgroundoffset out does not help), but I'm sure someone will be able to tell us the secret incantation to fix that. Strange thing is – I had tried that a while ago and the transparency was simply lost. (Right now, the numbers must be different depending on whether you put the thing in front of an MP graphic or in front of a plain color background.) If that happens to you, try putting both graphics into the same stack of backgrounds, as in \setupbackgrounds[page][background={bgnd,brighten}] As a last resort, you could of course join the code into one MP graphic. Christopher