> > how do I change > > > > \startTeXtexts > > \dorecurse{10}{\TeXtext{\recurselevel}{$x_{\recurselevel}$}} > > \stopTeXtexts > > > > so that I can print labels from x_0 up to x_9? Do I need to use > > \defineconversion and \convertnumber? > > No, use \dostepwiserecuse. The general syntax is > > \dostepwiserecurse {from} {to} {step} {action} > > so > > \dostepwiserecurse {0} {9} {1}
I guess it must be \dostepwiserecurse {0} {9} {1} {} > {\TeXtext{\recurselevel}{$x_{\recurselevel}$} should work. I have tried that, but sometxt(0) prints nothing. Anyway, I have solved it like this: \startTeXtexts \TeXtext{0}{$x_0$} \dorecurse{30}{\TeXtext{\recurselevel}{$x_{\recurselevel}$}} \stopTeXtexts Thanks again! Nicola ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________