From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59337 Path: news.gmane.org!not-for-mail From: Bernhard Rosensteiner Newsgroups: gmane.comp.tex.context Subject: Re: macro beginner question Date: Sat, 5 Jun 2010 14:50:29 +0200 Message-ID: <1666900C-78F6-4A86-88A9-E0E6B92B97E4@gmail.com> References: <164BC5F1-93F4-4822-82AF-1C272D5639A9@gmail.com> <4C0A4460.4080902@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1275742258 28494 80.91.229.12 (5 Jun 2010 12:50:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Jun 2010 12:50:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 05 14:50:56 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 1OKspy-0005VW-2E for gctc-ntg-context-518@m.gmane.org; Sat, 05 Jun 2010 14:50:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A9498C9CAF; Sat, 5 Jun 2010 14:50:53 +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 UBUeGW7+aZCx; Sat, 5 Jun 2010 14:50:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B042CC9CBA; Sat, 5 Jun 2010 14:50:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F0D59C9CBA for ; Sat, 5 Jun 2010 14:50:43 +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 iWmXP6qDNpmj for ; Sat, 5 Jun 2010 14:50:31 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by balder.ntg.nl (Postfix) with ESMTP id C3C21C9C87 for ; Sat, 5 Jun 2010 14:50:31 +0200 (CEST) Original-Received: by fxm14 with SMTP id 14so1514185fxm.14 for ; Sat, 05 Jun 2010 05:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=Q4HwyYS6w3cXhFZQjbLELMfMLwJV1kbrmO7cn83BBjo=; b=W2DR+r41NwtebouYx/MRfoVfoGF3TV5UXeWy0lxLehuM0epExcDsXqkJU2b9MJXkvB okUSLrz48w0gq93eJSE+078Hi8vxK+KTVoA/i5XzgPTmYul3BejiQUQK/o2Em1Wvsxcj GI7wkrds/NmQrWD3l8BZwJvG7iYakcAZVJqko= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=IgCdhjpQz4/eTAanJBTk4gpCYt3tGUVWSuDin8JUF6TTCdd7ot5c2sXhEXS3eBo0rB JWWxB9P0T4D6nWA5OHe84IyT+MzKlUUZ13eoLeU4x9Pr1ObddjsrlwJaQp7F58gJvXYk UWmlYbGZEnkeyyogx76V8gRPX7sxyAmKzw5mw= Original-Received: by 10.223.77.86 with SMTP id f22mr12999184fak.49.1275742231427; Sat, 05 Jun 2010 05:50:31 -0700 (PDT) Original-Received: from 196-086-142-078.ascus.at ([78.142.86.196]) by mx.google.com with ESMTPS id j23sm10250123faa.2.2010.06.05.05.50.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 05 Jun 2010 05:50:31 -0700 (PDT) In-Reply-To: <4C0A4460.4080902@elvenkind.com> X-Mailer: Apple Mail (2.1078) 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:59337 Archived-At: deleting the \def\Mycolor line does not help - same result. best regards Bernhard Am 05.06.2010 um 14:34 schrieb Taco Hoekwater: > Bernhard Rosensteiner wrote: >> Hello all, >> in the process of learning macro programming in context i encountered th= e following problem (minimal example is attached): >> When i have \setuphead[section][color=3D{red}] the color key influences = in a strange way my =84novice macro=93 (see the text which should be black = but is red). Further more the \ruledhbox in my macro stops at some point th= e 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= the Wiki! > = > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________