From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61483 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: Making checkboxes Date: Mon, 06 Sep 2010 19:57:13 +0200 Message-ID: <87aanurc06.fsf@linux-lqcw.site> 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1283795857 24757 80.91.229.12 (6 Sep 2010 17:57:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Sep 2010 17:57:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 06 19:57:36 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 1Osfwl-0005tU-0V for gctc-ntg-context-518@m.gmane.org; Mon, 06 Sep 2010 19:57:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 02C23CA682; Mon, 6 Sep 2010 19:57:34 +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 sZ5-IrOjcqAm; Mon, 6 Sep 2010 19:57:30 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0EE49CA640; Mon, 6 Sep 2010 19:57:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E7942CA640 for ; Mon, 6 Sep 2010 19:57: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 PzuCwi9OUutF for ; Mon, 6 Sep 2010 19:57:16 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 3A225CA626 for ; Mon, 6 Sep 2010 19:57:16 +0200 (CEST) Original-Received: from mail-wy0-f169.google.com (mail-wy0-f169.google.com [74.125.82.169]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o86HvFXn011561 for ; Mon, 6 Sep 2010 19:57:15 +0200 Original-Received: by wyb36 with SMTP id 36so6098086wyb.14 for ; Mon, 06 Sep 2010 10:57: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=vpCwbnb1FQxp+oR+X6veAM6qdzcr3lk4V1CEJV+hY7k=; b=OeI7RjQWNWOCj6jItXdlnlUq4Tl73qVMCU3jPsrb9FhDCMH+HoKupJTZK96B0ZlEp8 Ky6yBsso9SspjQgX9hl52iZdZAyuRTs3W+5L4lq3Ma0ufSQVolhSYWo6/a8Y6qIkWn1R 8eB+9jLZpi1RELkkO5L1rmkNdFdPHGnSq4gn0= 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=DrEqm8GMuRyf2Eg4eM70fg0b7NKFKtXRNUszQLWcAsbeRqbuC364x8Lhw9nKzb/r0u gboDMZZZDLRdI3bgKJigxu4XuwSkGFccQW9btEeoFo+lholqaiYOc0JyhME3q/nUFF+/ cIsT3CIpY8LohJ/gN77wcpsruYjQqvu2WjOdE= Original-Received: by 10.227.155.3 with SMTP id q3mr443352wbw.130.1283795835400; Mon, 06 Sep 2010 10:57:15 -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 b23sm4851092wbb.10.2010.09.06.10.57.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Sep 2010 10:57:14 -0700 (PDT) In-Reply-To: (Wolfgang Schuster's message of "Mon, 6 Sep 2010 18:37:25 +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.169; 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: 0rD3tVfXA - 6634ab49ba1c - 20100906 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:61483 Archived-At: Op maandag 6 sep 2010 18:37 CEST schreef Wolfgang Schuster: > 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 I start to understand it. Thanks. I changed it a little. I implemented 'title'. And with startitemize I got empty space between my 'title' and the checkboxes. So I coded it like: \def\CheckBoxes[#1,#2]% {#1\par \processcommalist[#2]\doCheckBoxes } \def\doCheckBoxes#1% {\hskip2.5em[\hskip1em] #1\par } \starttext \CheckBoxes[Intelligent way, Yes, No, A little bit] \blank \CheckBoxes[Long list, First, Second, Thirth, Fourth, Fifth] \blank \CheckBoxes[Short list, Yes, No] \stoptext Is there a way that I do not need al the '\blank' lines. After a checkbox list, I always want an empty line. -- 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 ___________________________________________________________________________________