From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59335 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: macro beginner question Date: Sat, 05 Jun 2010 14:34:40 +0200 Message-ID: <4C0A4460.4080902@elvenkind.com> References: <164BC5F1-93F4-4822-82AF-1C272D5639A9@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1275741295 25970 80.91.229.12 (5 Jun 2010 12:34:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Jun 2010 12:34:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 05 14:34:54 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OKsaS-0005VU-K8 for gctc-ntg-context-518@m.gmane.org; Sat, 05 Jun 2010 14:34:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 57120C9CDB; Sat, 5 Jun 2010 14:34:49 +0200 (CEST) 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 xTCoE1nddvMI; Sat, 5 Jun 2010 14:34:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 26C9AC9CAF; Sat, 5 Jun 2010 14:34:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 65A3EC9CAF for ; Sat, 5 Jun 2010 14:34:45 +0200 (CEST) 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 771rJKbVEjbU for ; Sat, 5 Jun 2010 14:34:43 +0200 (CEST) Original-Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by balder.ntg.nl (Postfix) with ESMTP id 53B1BC9C8B for ; Sat, 5 Jun 2010 14:34:43 +0200 (CEST) Original-Received: from [192.168.178.26] (boo.demon.nl [83.163.247.99]) (authenticated bits=0) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id o55CYh1V036923 for ; Sat, 5 Jun 2010 14:34:43 +0200 (CEST) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 2.0.0.23 (X11/20090822) In-Reply-To: <164BC5F1-93F4-4822-82AF-1C272D5639A9@gmail.com> X-Virus-Scanned: by XS4ALL Virus Scanner 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:59335 Archived-At: Bernhard Rosensteiner wrote: > Hello all, > = > in the process of learning macro programming in context i encountered the= following problem (minimal example is attached): > = > When i have \setuphead[section][color=3D{red}] the color key influences i= n a strange way my =84novice macro=93 (see the text which should be black b= ut is red). Further more the \ruledhbox in my macro stops at some point the= red color (with a normal \hbox all the text in the section is red). = > what i=B4m doing wrong here? I don=92t expect such a behaviour Somewhere you should execute \Mycolor, you are only defining it. Best wishes, Taco ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________