From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61482 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Making checkboxes Date: Mon, 6 Sep 2010 18:37:25 +0200 Message-ID: References: <87vd6js07a.fsf@linux-lqcw.site> <87iq2jrszy.fsf@linux-lqcw.site> <203FFD4F-E46A-42A2-85C2-FA2550685B31@gmail.com> <87mxrvq9ma.fsf@linux-lqcw.site> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1283791068 4788 80.91.229.12 (6 Sep 2010 16:37:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Sep 2010 16:37:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 06 18:37:47 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 1OsehW-0003da-Sf for gctc-ntg-context-518@m.gmane.org; Mon, 06 Sep 2010 18:37:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A8A62CA67C; Mon, 6 Sep 2010 18:37:45 +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 H5xpxF0csPaf; Mon, 6 Sep 2010 18:37:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 66A0ACA63B; Mon, 6 Sep 2010 18:37:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 38821CA63B for ; Mon, 6 Sep 2010 18:37: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 It6ONzlBnJaz for ; Mon, 6 Sep 2010 18:37:30 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 0157FCA611 for ; Mon, 6 Sep 2010 18:37:29 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o86GbSXx023685 for ; Mon, 6 Sep 2010 18:37:29 +0200 Original-Received: by fxm3 with SMTP id 3so3169115fxm.14 for ; Mon, 06 Sep 2010 09:37:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=rqgiSKK6G1O3vBCmdClIui+Rohu1hpgRwuSTXLU7y5I=; b=tRX+w6bkLnmf9p71cioszSyMdkR8QkYPSH7IdEE2ZLtrjY+0OFH8dzdXVuIEpR9a/W 7XCL4VjwiamlzNfNgYjD/GRqT2zzx4qgN72S1v6FuMYvzUVkGZeJo1qmpoI1mjkpnd6m T8iVEaTiB99348f6wJAekwOTRS8WNYPkPnn4Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=VIzApDj0nrfTDbe9W/zsiSyOfyS9FP1gfZ+Ae4NskMAJII6B2LSrdPWp0khlXmwMPi 8y4yLBdLUWAd/zdTvF003HWRxSj7h2yrWr/HpPRcuTrFUCLdnbBaZiA7iuoFd0PVhaBq tISNndgLCkHHBBFQMSfqm6kmpryBsoEehyIiU= Original-Received: by 10.223.112.13 with SMTP id u13mr1327604fap.36.1283791048692; Mon, 06 Sep 2010 09:37:28 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B2952C9.dip.t-dialin.net [91.41.82.201]) by mx.google.com with ESMTPS id r5sm2411863faq.8.2010.09.06.09.37.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Sep 2010 09:37:27 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; 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: 07D3sBsXs - b9af75c55587 - 20100906 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:61482 Archived-At: Am 06.09.2010 um 17:55 schrieb Cecil Westerhof: > I ran it with batchmode and silent, so I did not see errors, but it is > not correct. > I get: > ! Use of \CheckBoxes doesn't match its definition. > l.19 \CheckBoxes Y > es, No, A little bit > > [...] > > So '\def\CheckBoxes[#1]%' is wrong, but what should it be? Use the command in the correct way: \CheckBoxes[Yes, No, A little bit] \def\CheckBoxes[#1]% {\startitemize[packed][margin=2.5em,width=2em] \processcommalist[#1]\doCheckBoxes \stopitemize} \def\doCheckBoxes#1% {\sym{[\hspace[big]]}#1\par} % \hspace[big] = 1em For a paragraph delimited version of \Checkboxes you can write \def\CheckBoxes#1\par {\startitemize[packed][margin=2.5em,width=2em] \processcommalist[#1]\doCheckBoxes \stopitemize} but this is not very context like. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________