From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12357 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: how to dismantle parametrized macro Date: Fri, 23 May 2003 14:47:15 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030523144639.0223d868@server-1> References: <5.2.0.9.1.20030521142856.01af96b0@server-1> <20030520141437.GB1572@ruhrau.de> <5.2.0.9.1.20030521142856.01af96b0@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1053801863 4542 80.91.224.249 (24 May 2003 18:44:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 May 2003 18:44:23 +0000 (UTC) Cc: ntg-context@ntg.nl Original-X-From: ntg-context-admin@ntg.nl Sat May 24 20:44:20 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Je0C-0001B1-00 for ; Sat, 24 May 2003 20:44:20 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 7758F10AF9; Sat, 24 May 2003 20:46:16 +0200 (MEST) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 5E55210AF1 for ; Sat, 24 May 2003 20:32:19 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.9/SQL-8.12.9-10/8.12.5) with ESMTP id h4OIWBWw027549 for ; Sat, 24 May 2003 20:32:12 +0200 Original-Received: from laptop-3.wxs.nl (server-1.pragma-net.nl [10.100.1.1] (may be forged)) by server-1.pragma-net.nl (8.12.3/8.12.2) with ESMTP id h4OIW80c024760; Sat, 24 May 2003 20:32:15 +0200 X-Sender: hagen-mail@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl In-Reply-To: <20030521200930.GB609@ruhrau.de> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:12357 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12357 At 22:09 21/05/2003 +0200, Johannes H=FCsing wrote: >Hans Hagen [Wed, May 21, 2003 at 02:30:44PM CEST]: >[...] > > > > \def\defineCBpalet{\dodoubleempty\dodefineCBpalet} > > > > \def\dodefineCBpalet[#1][#2]% > > {\getparameters[CB][\c!n=3D3,#2] > > \let\CBcolorlist\empty > > \dorecurse\CBn > > {\addtocommalist > > {#1:\recurselevel=3D#1:\recurselevel:\CBn} % is always expanded > > \CBcolorlist} > > \expanded{\definepalet[#1][\CBcolorlist]}} > > > > \defineCBpalet[Accent][n=3D5] \protect [macrodef] \unprotect or \c!n =3D> n Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------