Oops. You've seen my Marx pictures. I'm ashamed I was caught. :-( (Well, no, I'm not a Marxist.) :-)

I think the alpha channel is not the cause, since I can see the light gray rectangles under the MetaPost figures, not under PNG with transparency. I don't know how precisely the transparency is done in the MetaPost, but I guess there is no background under curves and shapes I draw in the MetaPost. At least there is nothing visible in the figure on the page 10 of http://www.econ.muni.cz/~qasar/tmp/inst-slide02.pdf. However, some background is visible under all MetaPost figures on pages 3 to 6. The background under the figures is different from the background around them. Or don't you see it? Then it might be a problem just under some versions of the AdobeReader, perhaps only under Linux.

Many thanks for your answers. Have a nice day.
Michal

2008/2/21, Hans Hagen <pragma@wxs.nl>:
Michal Kvasnička wrote:
> Many thanks for your answer.
>
>>> If I include some transparent stuff on a light background (i.e. a
>>>> metapost figure on a light gray screen), there's a visible rectangle
>> around it (on
>>>> the screen).
> Yes, it's unfortunately normal at least in Acrobat 7 and 8, also in
>> Apple's PDF viewer (in Preview, Mail etc.).
>> In my experience esp. transparent (or flattened) elements show a fine
>> white border - but if you zoom in, it stays the same fine line or
>> sometimes disappeares. And it never shows in print.
>>
>
>
> However, what I meant was slightly different: not a tiny white line around
> but a solid (full) rectangle with light gray background. You can see it
> here: http://www.econ.muni.cz/~qasar/tmp/inst-slide02.pdf, page 3 (the ugly
> background in the figure on the page 2 is my fault).


isn't that alpha channel stuff? i never looked into that but your marx
picture does not have the gray background .. maybe compare the internals
of these graphics adn see what happens inside


-----------------------------------------------------------------

                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________