From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14867 Path: main.gmane.org!not-for-mail From: pawcoo Newsgroups: gmane.comp.tex.context Subject: Re: color in pdfTeX Date: Fri, 05 Mar 2004 08:21:19 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <40482A6F.1080108@poczta.onet.pl> References: <40452A8E.2020704@poczta.onet.pl> <4047ACA2.7080005@poczta.onet.pl> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1078471402 19885 80.91.224.253 (5 Mar 2004 07:23:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Mar 2004 07:23:22 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Mar 05 08:23:12 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Az9fs-0007GF-00 for ; Fri, 05 Mar 2004 08:23:12 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 9002A10B47; Fri, 5 Mar 2004 08:20:54 +0100 (MET) Original-Received: from acchsh.com (dilbert.acchsh.krakow.pl [62.233.163.90]) by ref.ntg.nl (Postfix) with ESMTP id CA53210B0D for ; Fri, 5 Mar 2004 08:19:24 +0100 (MET) Original-Received: from poczta.onet.pl (ch170.neoplus.adsl.tpnet.pl [::ffff:80.54.204.170]) by acchsh.com (Postfix) with ESMTP id 91A97173758 for ; Fri, 5 Mar 2004 08:21:25 +0100 (CET) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14867 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14867 >>>\pdfliteral{0 1 0 0 k} >>>\pdfliteral{0 1 0 0 K} >> >>Thanks! That works. I'll dare to ask one more question. How to use >>colors in (some kind of) groups, meaning localy? In example, how to >>set some nice color for given object only (word, letter or rule)? Or >>should I always say something like >> >>\pdfliteral{0 1 0 0 k} >> colorized text >>\pdfliteral{0 0 0 1 k} % come back to black > > > Seems to be currently the only way. The \pdfliteral{} primitives are > done between two x/y transformations, so you can't use q/Q grouping. > And the \pdfliteral direct{} variant doesn't help either, as it comes > before BT, but also _before_ ET, so grouping would be broken also. > Probably something to consider for a change... > > Regards, Hartmut Ok. That doesn't hurt since I know, that there is no smarter way :-P Thank You for help. Pawe/l