From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22322 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: strange behaviour of colors Date: Tue, 06 Sep 2005 18:11:32 +0200 Message-ID: <431DBFB4.2020402@wxs.nl> References: <431D92C0.3020706@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1126023535 9358 80.91.229.2 (6 Sep 2005 16:18:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2005 16:18:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 06 18:18:51 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1ECg6e-0000wG-Bs for gctc-ntg-context-518@m.gmane.org; Tue, 06 Sep 2005 18:15:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 01D8A127C6; Tue, 6 Sep 2005 18:15:32 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21516-01; Tue, 6 Sep 2005 18:15:31 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C21F0127D0; Tue, 6 Sep 2005 18:11:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E4D47127D0 for ; Tue, 6 Sep 2005 18:11:24 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21294-09 for ; Tue, 6 Sep 2005 18:11:24 +0200 (CEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 06368127C6 for ; Tue, 6 Sep 2005 18:11:23 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j86GBJ4g001247 for ; Tue, 6 Sep 2005 18:11:19 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id ABE721985E; Tue, 6 Sep 2005 17:19:15 +0200 (CEST) Original-Received: from [10.100.1.15] (unknown [10.100.1.15]) by server-1.pragma-net.nl (Postfix) with ESMTP id 7AEED1940E for ; Tue, 6 Sep 2005 15:19:14 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <431D92C0.3020706@gmail.com> X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on mailrelay02 X-Virus-Status: Clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22322 Archived-At: 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 for a while i thought that it was a bug but it;s just acrobat messing up (in full acrobat 6 as well as reader 7): if you process the text with \pdfcompresslevel=0 you will see that the title has no transparency and is just the same rgb color as on page 1; acrobat always had problems with transparency + aliasing + caching + whatever deals with colors (best put some fake transparent thingie on page one) Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------