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
___________________________________________________________________________________

Reply via email to