ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "luigi scarso" <luigi.scarso@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Strange behaviour with colors and figures
Date: Wed, 22 Oct 2008 22:43:08 +0200	[thread overview]
Message-ID: <fe8d59da0810221343wb4bb918l2af885595e4feed1@mail.gmail.com> (raw)
In-Reply-To: <3eb5f5b10810221320y2b2e0c27r1584e161ed90507b@mail.gmail.com>


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

On Wed, Oct 22, 2008 at 10:20 PM, Flavien Lambert <petit.lepton@gmail.com>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 !
>

\setupcolors[state=start]
\definecolor[gris][r=0.310,g=0.333,b=0.341]
\starttext
\placefigure{}{\externalfigure[myfigure]}
\color[red]{\tfd Some text}
\stoptext

minimals-beta seems to be ok
tested with myfigure.png in attachment,
acroread, xpdf,evince, psv seem ok
-- 
luigi

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

[-- Attachment #2: myfigure.png --]
[-- Type: image/png, Size: 8747 bytes --]

[-- Attachment #3: test-lambert.pdf --]
[-- Type: application/pdf, Size: 18889 bytes --]

[-- Attachment #4: 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:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-22 20:20 Flavien Lambert
2008-10-22 20:43 ` luigi scarso [this message]
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=fe8d59da0810221343wb4bb918l2af885595e4feed1@mail.gmail.com \
    --to=luigi.scarso@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).