From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55767 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: coloring rules Date: Sat, 23 Jan 2010 16:06:17 +0100 Message-ID: <57E7CA33-3240-4E79-9646-3B618BCF4167@uva.nl> References: <9C10C160-CF71-4E53-B034-11CC1291AC31@uva.nl> <4B5AFE57.5030905@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264259227 990 80.91.229.12 (23 Jan 2010 15:07:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Jan 2010 15:07:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 23 16:06:57 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 1NYhZh-0001xf-8K for gctc-ntg-context-518@m.gmane.org; Sat, 23 Jan 2010 16:06:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5CF3CC9C4F; Sat, 23 Jan 2010 16:06:56 +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 9N4kATlTGxpE; Sat, 23 Jan 2010 16:06:47 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 90A08C9B92; Sat, 23 Jan 2010 16:06:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3CF42C9C31 for ; Sat, 23 Jan 2010 16:06:31 +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 U92O2al-J8Kb for ; Sat, 23 Jan 2010 16:06:22 +0100 (CET) Original-Received: from pony.ic.uva.nl (pony.ic.uva.nl [145.18.40.181]) by balder.ntg.nl (Postfix) with ESMTP id 22888C9B92 for ; Sat, 23 Jan 2010 16:06:22 +0100 (CET) Original-Received: from Mindolluin.fritz.box (a82-95-102-36.adsl.xs4all.nl [82.95.102.36]) (authenticated bits=0) by pony.ic.uva.nl (8.13.1/8.13.1) with ESMTP id o0NF6HVX026457 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sat, 23 Jan 2010 16:06:18 +0100 In-Reply-To: <4B5AFE57.5030905@googlemail.com> 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.181 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:55767 Archived-At: On 23 jan 2010, at 14:49, Wolfgang Schuster wrote: > Am 23.01.10 14:32, schrieb Hans van der Meer: >> Further experimentation has shown that it is not impossible to color >> \vrule's, thus \blackrule is not specifically needed. > > \blackrule is a \vrule which is enclosed in \startcolor/\stopcolor. > >> Let me first mention that I put the colored rules away with >> \setbox\B=\hbox{} and then later call \B up. > > Why so complicated? > > It is a pity until now I am not able to concoct a >> minimal example showing consistently the behaviour. >> >> However I have made the following observations: >> define: \definecolor[mycolor][r=myR,g=myG,b=myB] > > Have you tried '{\mycolor\vrule \relax}'? No, I hadn't, but now I have. And it worked. The simplest solution is most of the times the best, indeed. Thanks. > > Wolfgang > ___________________________________________________________________________________ Hans van der Meer ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________