From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76175 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: color as module parameter (mkiv) Date: Mon, 14 May 2012 18:22:15 +0200 Message-ID: <353EAD22-FB67-4B42-BE0A-037A9030CC4D@googlemail.com> References: <20120514175330.1ae6640a@freenet.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1337012550 2496 80.91.229.3 (14 May 2012 16:22:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 May 2012 16:22:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 14 18:22:29 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1STy2X-0001cc-Dx for gctc-ntg-context-518@m.gmane.org; Mon, 14 May 2012 18:22:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1C323101E2; Mon, 14 May 2012 18:22:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DZEf9ll8IY59; Mon, 14 May 2012 18:22:26 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79F04101DF; Mon, 14 May 2012 18:22:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 53BEF101DF for ; Mon, 14 May 2012 18:22:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uyaFq8-nzaC3 for ; Mon, 14 May 2012 18:22:24 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 5A0CD101CF for ; Mon, 14 May 2012 18:22:24 +0200 (CEST) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4EGLao3012349 for ; Mon, 14 May 2012 18:21:36 +0200 Original-Received: by eekb47 with SMTP id b47so2142431eek.14 for ; Mon, 14 May 2012 09:22:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=MA9s6oLhWob9jYOf5l2gN6QQGKE/yNMxxdDL7TLET6A=; b=d+BwdNO+nsNQ51uAgED5IFJrW5MaERd5k/8qASsRVWsgRgiq7jnWBif5UxbkuZe8uN jsC2+PF1xGiTb8YVGXHcGZd36/Z2kkPwrm3WxeCRpRzzB73e24M1exhwWViXVeSUq1eA 8MSwTmjbF6Xb2OWr8H1plcvG1NViOX/hLk8OeEs0p/PNj8dcZJjTUdnmhZcgJw1inJFr P/pooQWs3gZ6UDRwhyGnvlaNoBsMMzp3zPGDz5p3HQiVW60A+Yeyn2aBEqDLpzcknA7+ i/YmLndzZEVf1shs2d35qQ/DSmj7GmJqY/ThruQsWiDG+7x2FEbUWHNQ9ca+Q+ogBxVo loiw== Original-Received: by 10.213.21.133 with SMTP id j5mr1600523ebb.28.1337012543410; Mon, 14 May 2012 09:22:23 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFCD4F.dip.t-dialin.net. [87.175.205.79]) by mx.google.com with ESMTPS id y53sm92404107eea.3.2012.05.14.09.22.21 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 May 2012 09:22:22 -0700 (PDT) In-Reply-To: <20120514175330.1ae6640a@freenet.de> X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WH9QlAMH - bae909f8a4aa - 20120514 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:76175 Archived-At: Am 14.05.2012 um 17:53 schrieb Peter Schorsch: > Hi, > = > I am trying to pass a tex color as a paramter to a module. I used the > example from the wiki as a base. But as soon I hand over a color > directly it does not work. You can expand the value \normalexpanded{\setupbackgrounds[=85][=85,backgroundcolor=3D\currentmodu= leparameter{color}]} or you can use \moduleparameter \setupbackgrounds[=85][=85,backgroundcolor=3D\moduleparameter{bgcolor}{co= lor}] > Any help is welcome as I am looking forward to hand > in my first module. Are there any rules how and where to hand in a > module for context? 1. You have to place the module in the correct sub folder. 2. Add your module on the modules page on the wiki. 3. Ask Mojca to add it to the context suite. Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________