ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Flavien Lambert" <petit.lepton@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Strange behaviour with colors and figures
Date: Wed, 22 Oct 2008 22:20:55 +0200	[thread overview]
Message-ID: <3eb5f5b10810221320y2b2e0c27r1584e161ed90507b@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 849 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 952 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2008-10-22 20:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-22 20:20 Flavien Lambert [this message]
2008-10-22 20:43 ` luigi scarso
2008-10-23  7:42 ` Taco Hoekwater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3eb5f5b10810221320y2b2e0c27r1584e161ed90507b@mail.gmail.com \
    --to=petit.lepton@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).