From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61474 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: Making checkboxes Date: Mon, 06 Sep 2010 13:50:09 +0200 Message-ID: <87iq2jrszy.fsf@linux-lqcw.site> References: <87vd6js07a.fsf@linux-lqcw.site> 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: dough.gmane.org 1283773843 27934 80.91.229.12 (6 Sep 2010 11:50:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Sep 2010 11:50:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 06 13:50:42 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OsaDh-0001IW-Jh for gctc-ntg-context-518@m.gmane.org; Mon, 06 Sep 2010 13:50:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 017AECA60F; Mon, 6 Sep 2010 13:50:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1fNID-gBoB3A; Mon, 6 Sep 2010 13:50:32 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EFCE5CA5EA; Mon, 6 Sep 2010 13:50:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D0FB2CA5EA for ; Mon, 6 Sep 2010 13:50:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00g0O08Mt0KC for ; Mon, 6 Sep 2010 13:50:17 +0200 (CEST) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 65FA7CA5D5 for ; Mon, 6 Sep 2010 13:50:17 +0200 (CEST) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o86BoFoL014817 for ; Mon, 6 Sep 2010 13:50:16 +0200 Original-Received: by wwe15 with SMTP id 15so590814wwe.2 for ; Mon, 06 Sep 2010 04:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=vJdu1D4HIEZyO4xEblUj8rK87MRBwXNA1/O3eFpzOTw=; b=MGZXyHeGe8OrBTGcbWMlirV6ZJTXfQ74kzUKgZSL5YO6ooDogdPEVNUT3kPmuJYIR3 i4TNBeAjwHUcCLfZOnfLgJIYGojTmR+exFjIzhpCXSlHxPB0WSqoW4fDOisnHf1SJSB/ m8hESp80ikATqeAbim13fJK7l2Wp38v7MJ9qo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; b=at5GHeZS2xkgWE6tdrJ50fyFKEVSnOXcx8wKDTsD4pusM230RO+ji50bNagDi1sKjO LOU9MAeepPxb3jzzEQZmDJ9q70Fcz6xOWsE0EDovSlZOGRGDuFUK8iR7KqHtOQcE+f3E 2QmTbJ+g0rOolw/IpAWmU64o53bQMLQvUzzR4= Original-Received: by 10.227.138.6 with SMTP id y6mr2215985wbt.162.1283773811921; Mon, 06 Sep 2010 04:50:11 -0700 (PDT) Original-Received: from linux-lqcw.site (84-53-123-169.wxdsl.nl [84.53.123.169]) by mx.google.com with ESMTPS id o49sm3273923wej.19.2010.09.06.04.50.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Sep 2010 04:50:10 -0700 (PDT) In-Reply-To: (Wolfgang Schuster's message of "Mon, 6 Sep 2010 12:55:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; 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: 04D3nOfhF - 13c06700f4de - 20100906 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:61474 Archived-At: Op maandag 6 sep 2010 12:55 CEST schreef Wolfgang Schuster: > \def\CheckBoxes[#1]% > {\par > \getcommalistsize[#1]% count the number of arguments > \processcommalist[#1]\doCheckBoxes} > > \def\doCheckBoxes#1% > {\hskip1em[ ] #1\par} I changed the code to: \def\CheckBoxes[#1]% {\par \getcommalistsize[#1]% count the number of arguments \processcommalist[#1]\doCheckBoxes} \def\doCheckBoxes#1% {\hskip1em[ ] #1\par} \starttext Some text \CheckBoxes{Yes, No, A little bit} \stoptext But I get: Some text Yes, No, A little bit When calling with: \CheckBoxes Yes, No, A little bit I get: Some text es, No, A little bit -- Cecil Westerhof M CLDWesterhof@gmail.com O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/ ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________