ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: strange behaviour of colors
Date: Tue, 6 Sep 2005 16:42:22 +0200	[thread overview]
Message-ID: <6faad9f005090607426e1a772a@mail.gmail.com> (raw)
In-Reply-To: <431D9DBD.2040507@logosrl.it>

luigi.scarso wrote:
> Mojca Miklavec wrote:
> 
> > Hello,
> >
> > In the following example, the title color changes on the second page.
> > How can I avoid that? I can probably switch the cmyk/rgb colors off,
> > but I would like to keep them as rgb/cmyk if possible.
> >
> > \setupcolors[state=start]
> > \setuphead[title][page=yes,color=blue]
> > \starttext
> >
> > \title{first page}
> > some text
> >
> > \title{second page}
> > The title color has changed.
> >
> > \definecolor [transparentred]  [r=1,t=.5,a=1]
> > \blackrule[width=2cm,height=2cm,color=transparentred]
> > \stoptext
> >
> > Thank you,
> >     Mojca
> >
> And moving \definecolor [transparentred]  [r=1,t=.5,a=1]
> before \starttext ?

It's \blackrule that triggers the change, not the \definecolor, but
you nevertheless gave me an idea! I will make a 0 times 0 box on the
first page which eventually solves the problem then, but this should
be solved generally.

> Under linux with acro7 I can't see differences.

After turning "separation preview" on, the colors appear to be "equal"
again (for the time when the little pup-up window is there, then the
changes appear again). I guess that the first title is typeset with
"rgb" blue and the second one with "cmyk" blue. With proper profile
settings, the colors appear to be the same (and should look the same),
but I'm affraid that they aren't. However, I don't know how to check
this.
It's quite possible that under windows some weird profile for
converting rgb <-> cmyk is chosen.

Thank you,
    Mojca

  reply	other threads:[~2005-09-06 14:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-06 12:59 Mojca Miklavec
2005-09-06 13:18 ` Filling forms luigi.scarso
2005-09-06 14:47   ` Taco Hoekwater
2005-09-06 15:09     ` luigi.scarso
2005-09-06 13:46 ` strange behaviour of colors luigi.scarso
2005-09-06 14:42   ` Mojca Miklavec [this message]
2005-09-06 16:11 ` Hans Hagen

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=6faad9f005090607426e1a772a@mail.gmail.com \
    --to=mojca.miklavec.lists@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).