Re: [NTG-context] Strange behaviour with colors and figures

2008-10-23 Thread Taco Hoekwater


Flavien Lambert wrote:
 Dear all, as expressed by the title, I have a very strange behaviour 
 between colors and figures. Here is the example :
 \setupcolors[state=start]
 \definecolor[gris][r=0.310,g=0.333,b=0.341]
 
 \starttext
   \placefigure{}{\externalfigure[myfigure]}
   \color[gris]{\tfd Some text}
 \stoptext
 
 If myfigure is a PDF file, everything is ok with MKII, MKIV and XeTeX. 
 If myfigure is a PNG file with transparency, then the gris color is ok 
 with MKII but not with MKIV and XeTeX if the resulting document is read 
 with Adobe Reader on Linux (when read with evince, colors are ok !). 
 In the latter case, the gris color is very dark close to black and the 
 green of myfigure becomes flashy...
 Quite puzzling !

The MKIV version of this problem is fixed in 0.30.0, it was broken in
luatex 0.29.0.

Best wishes,
Taco
___
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
___


[NTG-context] Strange behaviour with colors and figures

2008-10-22 Thread Flavien Lambert
Dear all, as expressed by the title, I have a very strange behaviour between
colors and figures. Here is the example :
\setupcolors[state=start]
\definecolor[gris][r=0.310,g=0.333,b=0.341]

\starttext
  \placefigure{}{\externalfigure[myfigure]}
  \color[gris]{\tfd Some text}
\stoptext

If myfigure is a PDF file, everything is ok with MKII, MKIV and XeTeX. If
myfigure is a PNG file with transparency, then the gris color is ok with
MKII but not with MKIV and XeTeX if the resulting document is read with
Adobe Reader on Linux (when read with evince, colors are ok !). In the
latter case, the gris color is very dark close to black and the green of
myfigure becomes flashy...
Quite puzzling !

-- 
Flavien.

Quantum objects are completely crazy but, at least, they are all crazy in
the same way. R.P. Feynman.
___
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
___