From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61473 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Making checkboxes Date: Mon, 6 Sep 2010 12:55:07 +0200 Message-ID: References: <87vd6js07a.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 1283770546 14707 80.91.229.12 (6 Sep 2010 10:55:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Sep 2010 10:55:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 06 12:55:45 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 1OsZMV-0001dE-Tn for gctc-ntg-context-518@m.gmane.org; Mon, 06 Sep 2010 12:55:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9E65CCA60F; Mon, 6 Sep 2010 12:55:42 +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 K3bFprze9Z7B; Mon, 6 Sep 2010 12:55:30 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EC9B4CA5EC; Mon, 6 Sep 2010 12:55:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E2E24CA5EC for ; Mon, 6 Sep 2010 12:55:27 +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 bP8K99w8CIlO for ; Mon, 6 Sep 2010 12:55:13 +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 30B80CA5EA for ; Mon, 6 Sep 2010 12:55:13 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o86AtCto022125 for ; Mon, 6 Sep 2010 12:55:12 +0200 Original-Received: by fxm3 with SMTP id 3so2973683fxm.14 for ; Mon, 06 Sep 2010 03:55:11 -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=+694Fmrw5ARh4fG+s286e4fX/hMOZaDrS8Hqhza88bQ=; b=QejSCRZVsve0IDrXDPWf9OHhqyN7CUna1LO8RTfZYJMk0BhhrGDCzOfJ4rrCf9SA4+ syVgYkFptUFB+1uCBYv3AhotYNz7+2VwQ9kNN6bnObx4+Nne0cNRtOFrn5WquJ6ZOcym cD7O0QifnjGwVMUpSsCPft8KTAAjow72IeEvc= 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=OKdm+LOUe7gUrQW2wCaNs9Ic8SxsR3mbh63sYPHO1qmF0kvLyRaoaiW6WEhZ3Izv96 g6NOx8bltHZ2+D0PShZ9VmgIudHxEVIzvdy49ulLhr03KwiSGW3z45r00pG5s8YEx3v1 z6aIMb1H3V7ey7U1jY9dtU6HczVPQJ0zJt5f4= Original-Received: by 10.223.124.4 with SMTP id s4mr620874far.31.1283770511885; Mon, 06 Sep 2010 03:55:11 -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 r5sm2294136faq.8.2010.09.06.03.55.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Sep 2010 03:55:10 -0700 (PDT) In-Reply-To: <87vd6js07a.fsf@linux-lqcw.site> 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: 04D3mTc1i - 1312de16e2b8 - 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:61473 Archived-At: Am 06.09.2010 um 11:14 schrieb Cecil Westerhof: > I am trying to define a (paper) feedback form. One of the things I > need is checkboxes. A first stab for this (for example I need also a > start text, but I do one step at a time) is, based on TeX by Topic, a > Texnician's Reference page 106: > \def\checkBox#1,{\space\space\space\space[\space\space] #1\par} > > \def\checkBoxes(#1,){\xcheckBoxes#1, xxx,} > \def\endpiece{xxx} > \def\xcheckBoxes#1,{\def\temp{#1}% > \ifx\temp\endpiece > \else \checkbox#1,% > \expandafter\xcheckBox > \fi} \def\CheckBoxes[#1]% {\par \getcommalistsize[#1]% count the number of arguments \processcommalist[#1]\doCheckBoxes} \def\doCheckBoxes#1% {\hskip1em[ ] #1\par} The number of arguments is available with the command \commalistsize. 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 ___________________________________________________________________________________