From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55726 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: coloring rules Date: Thu, 21 Jan 2010 17:28:58 +0100 Message-ID: <9C10C160-CF71-4E53-B034-11CC1291AC31@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============0910165746==" X-Trace: ger.gmane.org 1264107332 8792 80.91.229.12 (21 Jan 2010 20:55:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Jan 2010 20:55:32 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 21 21:55:25 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NY43k-0008Jg-Cm for gctc-ntg-context-518@m.gmane.org; Thu, 21 Jan 2010 21:55:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B6B82C9D36; Thu, 21 Jan 2010 21:55:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4Z4s6kXorJkl; Thu, 21 Jan 2010 21:55:15 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3AB28C9CB9; Thu, 21 Jan 2010 21:55:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2B139C9CB9 for ; Thu, 21 Jan 2010 21:55:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NfS6MycNgdmE for ; Thu, 21 Jan 2010 21:55:11 +0100 (CET) Original-Received: from paard.ic.uva.nl (paard.ic.uva.nl [145.18.40.182]) by balder.ntg.nl (Postfix) with ESMTP id 6AD5FC9CB0 for ; Thu, 21 Jan 2010 21:55:11 +0100 (CET) Original-Received: from [192.168.178.23] (a82-95-102-36.adsl.xs4all.nl [82.95.102.36]) (authenticated bits=0) by paard.ic.uva.nl (8.13.1/8.13.1) with ESMTP id o0LGSCtt019869 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 21 Jan 2010 17:28:58 +0100 X-Mailer: Apple Mail (2.936) X-CanIt-Geo: ip=82.95.102.36; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: auth (inherits from default) X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 145.18.40.182 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55726 Archived-At: --===============0910165746== Content-Type: multipart/alternative; boundary=Apple-Mail-2-168813502 --Apple-Mail-2-168813502 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit ConTeXt ver: 2010.01.19 23:29 MKIV fmt: 2010.1.20 int: english/ english Coloring hrule's and vrule's with \color[aColor]{\vrule heightdepthwidth} works only if aColor is one of the standardcolors like red, blue, gray, etc. But defining other colors don't color the rule \definecolor[mygray][r=. 6,g=.7,b=.7]\color[mygray]{\vrule heightdepthwidth} typesets the rule in black, not in mygray. The strange is that the lines around \framed[framecolor=mygray] do get colored correctly. How can I accomplish the general coloring of vrule's and hrule's? Hans van der Meer --Apple-Mail-2-168813502 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
ConTeXt  ver: 2010.01.19 23:29 = MKIV  fmt: 2010.1.20  int: english/english

Coloring hrule's and vrule's with = \color[aColor]{\vrule heightdepthwidth} works only if aColor is one of = the standardcolors like red, blue, gray, = etc.
But defining other colors don't color the = rule \definecolor[mygray][r=3D.6,g=3D.7,b=3D.7]\color[mygray]{\vrule = heightdepthwidth} typesets the rule in black, not in = mygray.
The strange is that the lines around \framed[framecolor=3Dmygray] = do get colored correctly.

How can I accomplish the general coloring of = vrule's and hrule's?