Hans, you forgot to define a \testitem...

\starttext

\definelabel[test][text=,numberconversion=character,stopper=!]

 \define[1]\testitem{{#1} {\test}}

\resetcounter[test]

\startcombination[2*2]
    \testitem{first}
    \testitem{second}
    \testitem{third}
    \testitem{fourth}
\stopcombination

\stoptext

Now, adding
\setupcombinations [before={\resetcounter[test]}]
would be incorrect as the counter would get reset for each row...

Alan




On Sun, 14 Apr 2013 01:04:33 +0200
Hans Hagen <pra...@wxs.nl> wrote:

> On 4/13/2013 1:13 PM, Alan BRASLAU wrote:
> 
> > (However, I am sure that Wolfgang can suggest an obvious solution
> > that is already available, that I overlook... :)
> 
> \useMPlibrary[dum]
> 
> \starttext
> 
> \definelabel[test][text=,numberconversion=character,stopper=!]
> 
> \resetcounter[test]
> 
> \startcombination[2*2]
>      {first} {\test}
>      {first} {\test}
> \stopcombination
> 
> \startcombination[2*2]
>      {first} {\test}
>      {first} {\test}
> \stopcombination
> 
> \resetcounter[test]
> 
> \startcombination[2*2]
>      {first} {\test}
>      {first} {\test}
> \stopcombination
> 
> \resetcounter[test]
> 
> \startcombination[2*2]
>      {first} {\test}
>      {first} {\test}
> \stopcombination
> 
> \stoptext
___________________________________________________________________________________
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