[NTG-context] control the number of items in the startitemize environment

2006-07-18 Thread batela

Dear Sirs.

I have a large  buffer that include several items packed in a initial 
startitemize environment. Using this list, I want build a several small 
lists with five inital items in the random order.
I try to do in this way, but without success :-((


%
\startsetups SmallList:make

\getbuffer[LargeList]

\stopsetups


\starttext

\startbuffer[LargeList]

\startitemize[1,random,packed][items=5] %%% -- this d'ont work. Why?
\startitem item 1 \stopitem
  \startitem item 2 \stopitem
  \startitem item 3 \stopitem
  \startitem item 4 \stopitem
  \startitem item 5 \stopitem
  \startitem item 6 \stopitem
  \startitem item 7 \stopitem
  \startitem item 9 \stopitem
  \startitem item 9 \stopitem
  \startitem item 10 \stopitem
  \stopitemize

  \stopbuffer

%\setuprandomize[1234]

\dorecurse{3} {\setups[SmallList:make]}

\stoptext
%

Thanks a lot

Jorge

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] control the number of items in the startitemize environment

2006-07-18 Thread Hans Hagen
batela wrote:
 Dear Sirs.

 I have a large  buffer that include several items packed in a initial 
 startitemize environment. Using this list, I want build a several small 
 lists with five inital items in the random order.
 I try to do in this way, but without success :-((


 %
 \startsetups SmallList:make

 \getbuffer[LargeList]

 \stopsetups


 \starttext

 \startbuffer[LargeList]

 \startitemize[1,random,packed][items=5] %%% -- this d'ont work. Why?
   

items=... has to do with questionares, not with randomize

of course such a feature can be added but where does adding such 
one-shot extensions end ...

Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context