From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36323 Path: news.gmane.org!not-for-mail From: Peter Schorsch Newsgroups: gmane.comp.tex.context Subject: module-parameters Was: Context replacement for bibitem Date: Fri, 31 Aug 2007 17:18:11 +0200 Organization: - Message-ID: References: <115224fb0708290023t4a82e3at42c004b2536c4536@mail.gmail.com> <115224fb0708292322l3ddda9ecudbcfce0ba96d16a8@mail.gmail.com> <115224fb0708302343k5b62707mc1bd3b0e9c9a5b3a@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1188573740 20525 80.91.229.12 (31 Aug 2007 15:22:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2007 15:22:20 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 31 17:22:16 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IR8K3-0007b0-Vx for gctc-ntg-context-518@m.gmane.org; Fri, 31 Aug 2007 17:22:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2ADDB20136; Fri, 31 Aug 2007 17:22:11 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11547-06; Fri, 31 Aug 2007 17:22:10 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DC61620142; Fri, 31 Aug 2007 17:20:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E80020136 for ; Fri, 31 Aug 2007 17:19:58 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11894-06 for ; Fri, 31 Aug 2007 17:19:41 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with ESMTP id BEFB620110 for ; Fri, 31 Aug 2007 17:19:39 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IR8HZ-0000CD-Cm for ntg-context@ntg.nl; Fri, 31 Aug 2007 17:19:37 +0200 Original-Received: from 91.64.14.162 ([91.64.14.162]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Aug 2007 17:19:37 +0200 Original-Received: from tralalas by 91.64.14.162 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Aug 2007 17:19:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 91.64.14.162 User-Agent: KNode/0.10.5 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36323 Archived-At: Thanks Wolfgang, you were totally right. I made a typewriting error - I discovered it with help of your examples. I also updated the module in the wiki - and I will make it multilingual as soon I will find a good doc about multilingual-commands. I tried to add colors over module-parameter - but it didn't work out. I changed in t-bibitem.tex: \setupmodule[itemspace=12,color=red] ... \def\bibref[#1]#2{\doifemptyelse{#2} {\color[\currentmoduleparameter{color}]{[\in[#1]]}} {\color[red]{[\in[#1], #2]}}} and in the biblist-test-files only following line has to be added: \setupcolors[state=start] The direct command \color[red]{...} is working, but the \color[\currentmoduleparamter{color}]{...} not - wether I add an \expanded or not. texexec gives following comments: color : empty is not defined I have the feeling that the module-parameter and the expand-commands are still a mysterious to me. Can you / anyone explain me, what I am doing wrong? Ciao ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________