From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12333 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?Q?Johannes_H=FCsing?= Newsgroups: gmane.comp.tex.context Subject: Re: how to dismantle parametrized macro Date: Wed, 21 May 2003 22:09:30 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <20030521200930.GB609@ruhrau.de> References: <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 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1053546932 1829 80.91.224.249 (21 May 2003 19:55:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 21 May 2003 19:55:32 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed May 21 21:55:26 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 19IZgM-0000Sf-00 for ; Wed, 21 May 2003 21:55:26 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 7111010B3A; Wed, 21 May 2003 21:57:17 +0200 (MEST) Original-Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by ref.ntg.nl (Postfix) with ESMTP id BCE4210AF9 for ; Wed, 21 May 2003 21:51:22 +0200 (MEST) Original-Received: from mailspool2.panix.com (mailspool2.panix.com [166.84.1.79]) by mail1.panix.com (Postfix) with ESMTP id 39C464887E for ; Wed, 21 May 2003 15:51:21 -0400 (EDT) Original-Received: from qossuth (dfn-home32.extern.uni-essen.de [132.252.244.32]) by mailspool2.panix.com (Postfix) with ESMTP id 56B7ED1543 for ; Wed, 21 May 2003 15:51:21 -0400 (EDT) Original-Received: from hannes by qossuth with local (Exim 3.35 #1 (Debian)) id 19IZty-0000HF-00 for ; Wed, 21 May 2003 22:09:30 +0200 Original-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <5.2.0.9.1.20030521142856.01af96b0@server-1> User-Agent: Mutt/1.3.28i Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: johannes.huesing@ruhrau.de 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:12333 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12333 Hans Hagen [Wed, May 21, 2003 at 02:30:44PM CEST]: [...] > > \def\defineCBpalet{\dodoubleempty\dodefineCBpalet} > > \def\dodefineCBpalet[#1][#2]% > {\getparameters[CB][\c!n=3,#2] > \let\CBcolorlist\empty > \dorecurse\CBn > {\addtocommalist > {#1:\recurselevel=#1:\recurselevel:\CBn} % is always expanded > \CBcolorlist} > \expanded{\definepalet[#1][\CBcolorlist]}} > > \defineCBpalet[Accent][n=5] This gives the following error message here: ! Missing \endcsname inserted. \unhbox \leavevmode ->\unhbox \voidb@x \bottomaccent #1#2#3#4#5->\leavevmode \vtop {\forgetall \baselineskip \zerop... \dohandleaccent ...acterencoding #1\endcsname {#2} \else \csname \nocharacter... \c ! n \dosetvalue ...!internal!n \ifcsname \k!prefix! #2 \endcsname \let \c!interna... ... l.22 \defineCBpalet[Accent][n=5] What gives? Johannes -- Johannes Hüsing There is something fascinating about science. One gets hannes@ruhrau.de such wholesale returns of conjecture from such a trifling investment of fact. Mark Twain