From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61476 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Making checkboxes Date: Mon, 6 Sep 2010 14:58:39 +0200 Message-ID: <203FFD4F-E46A-42A2-85C2-FA2550685B31@gmail.com> References: <87vd6js07a.fsf@linux-lqcw.site> <87iq2jrszy.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 1283777935 12650 80.91.229.12 (6 Sep 2010 12:58:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Sep 2010 12:58:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 06 14:58:53 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 1OsbHh-0003Jg-Ib for gctc-ntg-context-518@m.gmane.org; Mon, 06 Sep 2010 14:58:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F3A9CA63B; Mon, 6 Sep 2010 14:58:52 +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 7jIvXuCgIRTs; Mon, 6 Sep 2010 14:58:48 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 04780CA611; Mon, 6 Sep 2010 14:58:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6778FCA611 for ; Mon, 6 Sep 2010 14:58:46 +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 0GNsMpnkLd9A for ; Mon, 6 Sep 2010 14:58:43 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id C91B3CA60F for ; Mon, 6 Sep 2010 14:58:43 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o86CpjWq021168 for ; Mon, 6 Sep 2010 14:51:45 +0200 Original-Received: by fxm3 with SMTP id 3so3031393fxm.14 for ; Mon, 06 Sep 2010 05:58:42 -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=GN9C2TSZ5sBDhuYp7bAw0Dh76UniASnYtIn0DU1Yb2U=; b=eVWRWw5yCy3OY7N+IdAiZDOikkyZFfh8CkMWiJX/DLXJBXPHOZBUhb2VwFgTLq8t+g tiZNou0dsxv0Jj3F2MiK9fKWnu7OWg7mHQ73T1x89fqbcVgk5UUK1eHenECqZhVQyuFK koAfkpK8Tg7qNHXNb8hYXjLa+fiti3cIZBh0w= 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=OFNq0eSNloiJ2BfaTIXkt2nbyZpD3FOYzUMjL1zxQAf/wh0xicfBqxqYzNYR0yLWW+ ExAQ+fzNnl3bXTbiQDV6GwxcHgPl4tOe7IPt0EYWai48CgQkCRagFi/6ZgkImp2/Dh5j VD+2iha93oBho1WTrogsjB+ESdGPxMdTy74OQ= Original-Received: by 10.223.120.132 with SMTP id d4mr1678396far.3.1283777922696; Mon, 06 Sep 2010 05:58:42 -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 2sm2337014faz.14.2010.09.06.05.58.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Sep 2010 05:58:41 -0700 (PDT) In-Reply-To: <87iq2jrszy.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: 0aD3oPJTw - cb97bbcc6a90 - 20100906 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:61476 Archived-At: Am 06.09.2010 um 13:50 schrieb Cecil Westerhof: > 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 How about this: \def\CheckBoxes[#1]% {\startitemize[packed] \processcommalist[#1]\doCheckBoxes \stopitemize} \def\doCheckBoxes#1% {\sym{\mathematics{\Box}}#1\par} 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 ___________________________________________________________________________________