Re: [NTG-context] Making checkboxes

2010-09-09 Thread Cecil Westerhof
2010/9/7 Wolfgang Schuster schuster.wolfg...@googlemail.com \startitemize[packed,intro,joinedup,columns,three][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em]} To put in columns only columns,two until columns,five can be used? I am trying to get more, but do not succeed. -- Cecil

Re: [NTG-context] Making checkboxes

2010-09-09 Thread Wolfgang Schuster
Am 09.09.2010 um 13:45 schrieb Cecil Westerhof: 2010/9/7 Wolfgang Schuster schuster.wolfg...@googlemail.com \startitemize[packed,intro,joinedup,columns,three][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em]} To put in columns only columns,two until columns,five can be used? I

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
Op maandag 6 sep 2010 20:29 CEST schreef Wolfgang Schuster: I wonder why need this command when can get the same result with normal context commands: \definesymbol[checkbox][{[~~~]}] \defineitemgroup[checkbox]

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
Op dinsdag 7 sep 2010 02:18 CEST schreef Aditya Mahajan: I am still new to ConTeXt, so I did not know this. But in the future I properly want to work with: [ ] a [ ] b [ ] c [ ] d [ ] e [ ] f [ ] g [ ] h [ ] i [ ] j [ ] k [ ] l instead of: [ ]

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
Op dinsdag 7 sep 2010 09:18 CEST schreef Cecil Westerhof: I wonder why need this command when can get the same result with normal context commands: \definesymbol[checkbox][{[~~~]}] \defineitemgroup[checkbox]

Re: [NTG-context] Making checkboxes

2010-09-07 Thread luigi scarso
On Tue, Sep 7, 2010 at 9:18 AM, Cecil Westerhof cldwester...@gmail.com wrote: I already tried:     \setupitemgroup[checkbox][each][packed][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em][itemize][indentnext=no] but that does not work. How can I make the 'title' not indented?

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
Op dinsdag 7 sep 2010 09:42 CEST schreef luigi scarso: I already tried:     \setupitemgroup[checkbox][each][packed][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em][itemize][indentnext=no] but that does not work. How can I make the 'title' not indented?

Re: [NTG-context] Making checkboxes

2010-09-07 Thread luigi scarso
On Tue, Sep 7, 2010 at 10:05 AM, Cecil Westerhof cldwester...@gmail.com wrote: Op dinsdag 7 sep 2010 09:42 CEST schreef luigi scarso: I already tried:        \setupitemgroup[checkbox][each][packed][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em][itemize][indentnext=no] but that does

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
Op dinsdag 7 sep 2010 10:13 CEST schreef luigi scarso: The \hskip needs to be -4em, but then it does what it should. There is not a way to put the hskip in setupitemgroup? Maybe -- I don't know. I found 'a way'. See later. In my opinion, title should be go out the startcheckbox env. Why?

Re: [NTG-context] Making checkboxes

2010-09-07 Thread luigi scarso
On Tue, Sep 7, 2010 at 11:08 AM, Cecil Westerhof cldwester...@gmail.com wrote: In my opinion, title should be go out the startcheckbox env. Why? Because your title is not a item at all -- its position is completely different from a \item and it's a title. Eventually something like

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Cecil Westerhof
Op dinsdag 7 sep 2010 11:24 CEST schreef luigi scarso: In my opinion, title should be go out the startcheckbox env. Why? Because your title is not a item at all -- its position is completely different from a \item and it's a title. Eventually something like \startcheckbox[title={My

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Wolfgang Schuster
Am 07.09.2010 um 09:32 schrieb Cecil Westerhof: It is a little worse. There is also no space between the 'checkbox' and the description. I want: title [ ] Yes [ ] No [ ] A little bit but I get: title [ ]Yes [ ]No [ ]A

Re: [NTG-context] Making checkboxes

2010-09-07 Thread luigi scarso
On Tue, Sep 7, 2010 at 3:18 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 07.09.2010 um 09:32 schrieb Cecil Westerhof: It is a little worse. There is also no space between the 'checkbox' and the description. I want:    title        [  ] Yes        [  ] No        [  ] A

[NTG-context] Making checkboxes

2010-09-06 Thread 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]

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Wolfgang Schuster
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:

Re: [NTG-context] Making checkboxes

2010-09-06 Thread 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

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Wolfgang Schuster
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

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Cecil Westerhof
Op maandag 6 sep 2010 14:58 CEST schreef Wolfgang Schuster: How about this: \def\CheckBoxes[#1]% {\startitemize[packed] \processcommalist[#1]\doCheckBoxes \stopitemize} \def\doCheckBoxes#1% {\sym{\mathematics{\Box}}#1\par} Does not work either. I have now (I added a SimpleCheckBoxes

Re: [NTG-context] Making checkboxes

2010-09-06 Thread 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 H gives: If you say, e.g., `\def\a1{...}', then you must always put `1' after

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Wolfgang Schuster
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

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Cecil Westerhof
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%

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Wolfgang Schuster
Am 06.09.2010 um 19:57 schrieb Cecil Westerhof: 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. The blank line comes from itemize, you can get rid of it with

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Aditya Mahajan
On Mon, 6 Sep 2010, Wolfgang Schuster wrote: Am 06.09.2010 um 19:57 schrieb Cecil Westerhof: 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. The blank line comes from itemize,

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Cecil Westerhof
Op maandag 6 sep 2010 20:29 CEST schreef Wolfgang Schuster: I wonder why need this command when can get the same result with normal context commands: \definesymbol[checkbox][{[~~~]}] \defineitemgroup[checkbox]

Re: [NTG-context] Making checkboxes

2010-09-06 Thread Aditya Mahajan
On 2010-09-06, at 7:07 PM, Cecil Westerhof cldwester...@gmail.com wrote: Op maandag 6 sep 2010 20:29 CEST schreef Wolfgang Schuster: I wonder why need this command when can get the same result with normal context commands: \definesymbol[checkbox][{[~~~]}]