From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21110 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: How to "\processcommalist"? Date: Fri, 1 Jul 2005 18:15:26 +0200 Message-ID: <6faad9f005070109152f691f61@mail.gmail.com> Reply-To: Mojca Miklavec , mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1120234144 386 80.91.229.2 (1 Jul 2005 16:09:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2005 16:09:04 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 01 18:09:02 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DoO3U-0000dk-LI for gctc-ntg-context-518@m.gmane.org; Fri, 01 Jul 2005 18:07:52 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BA943127E0; Fri, 1 Jul 2005 18:15:31 +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 25276-05; Fri, 1 Jul 2005 18:15:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EDFB012798; Fri, 1 Jul 2005 18:15:27 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7891912798 for ; Fri, 1 Jul 2005 18:15:27 +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 25445-04 for ; Fri, 1 Jul 2005 18:15:26 +0200 (CEST) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.199]) by ronja.ntg.nl (Postfix) with ESMTP id ACC761277B for ; Fri, 1 Jul 2005 18:15:26 +0200 (CEST) Original-Received: by nproxy.gmail.com with SMTP id a4so88332nfc for ; Fri, 01 Jul 2005 09:15:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=eH27x0/n+oQS0YF+w3W5zr0cIsGit/c6rIqE0B9YquLQ5B2+SR7Q6mFivmMg2gxlZj+fBBwI4oZANA0tYQVfOu8aQejH5MH8KnDSTo94dDJaAEhjiMzz7tgJwzn9XFLYdAmM5atp9h/OVgo8nWFGzVuJIAnXwMN2W/f3gF/1qLs= Original-Received: by 10.48.237.12 with SMTP id k12mr58285nfh; Fri, 01 Jul 2005 09:15:26 -0700 (PDT) Original-Received: by 10.48.247.2 with HTTP; Fri, 1 Jul 2005 09:15:26 -0700 (PDT) Original-To: mailing list for ConTeXt users Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21110 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21110 I would like to define a command, which would be called in the following wa= y: \TheBossWantsTheWorkToBeDoneOn[monday,wednesday,thursday]{tidy up} so that it would be equivalent to: \WeHaveToDo[monday]{tidy up} \WeHaveToDo[wednesday]{tidy up} \WeHaveToDo[thursday]{tidy up} I played a bit with different variants of \processcommalist, but I can't figure out how to use it in this particular case. Is there also a possibility to define a command like \IHaveToDoTheTasks[1-4,7,9-11]{until tomorrow} which would expand into \IHaveToDoTheTask[1]{until tomorrow} \IHaveToDoTheTask[2]{until tomorrow} \IHaveToDoTheTask[3]{until tomorrow} \IHaveToDoTheTask[4]{until tomorrow} \IHaveToDoTheTask[7]{until tomorrow} \IHaveToDoTheTask[9]{until tomorrow} \IHaveToDoTheTask[10]{until tomorrow} \IHaveToDoTheTask[11]{until tomorrow} ? Thanks for any suggestions, Mojca