From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14860 Path: main.gmane.org!not-for-mail From: Hartmut Henkel Newsgroups: gmane.comp.tex.context Subject: Re: color in hairlines Date: Wed, 3 Mar 2004 22:36:40 +0100 (CET) Sender: ntg-context-admin@ntg.nl Message-ID: References: <40452A8E.2020704@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 X-Trace: sea.gmane.org 1078349906 23140 80.91.224.253 (3 Mar 2004 21:38:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Mar 2004 21:38:26 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Mar 03 22:38:09 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 1Aye48-0006Pg-00 for ; Wed, 03 Mar 2004 22:38:08 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 91EF510B53; Wed, 3 Mar 2004 22:35:51 +0100 (MET) Original-Received: from hahepc1.hahe (unknown [62.80.57.137]) by ref.ntg.nl (Postfix) with ESMTP id C516310B38 for ; Wed, 3 Mar 2004 22:34:30 +0100 (MET) Original-Received: from hahe (helo=localhost) by hahepc1.hahe with local-esmtp (Exim 4.14) id 1Aye2i-0000Jd-EH for ntg-context@ntg.nl; Wed, 03 Mar 2004 22:36:40 +0100 Original-To: "ntg-context@ntg.nl" In-Reply-To: <40452A8E.2020704@poczta.onet.pl> 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:14860 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14860 On Wed, 3 Mar 2004, pawcoo wrote: > please, consider the following simple example of pdftex code: > > \pdfliteral{0 1 0 0 k} % Magenta (ugly) > \hrule height 1pt > \hrule height 1.1pt > \end > > The upper hairline remains black. What should I do to colorize thin > lines also? Lines with width <= 1 bp are stroked by pdftex, lines wider than that are filled (procedure pdf_set_rule). Stroking CMYK color is set by K, nonstroking by k, so you need both: \pdfliteral{0 1 0 0 k} \pdfliteral{0 1 0 0 K} Regards, Hartmut