![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
24 Feb
2021
24 Feb
'21
11:44 a.m.
Pablo Rodriguez schrieb am 24.02.2021 um 19:23:
Dear list,
I have the following sample:
\starttext \startTEXpage[offset=1em] \startoverlay \dostepwiserecurse{25}{95}{5} {{\recurselevel\ }} \stopoverlay \stopTEXpage \stoptext
Which is the right way to loop an overlay?
\starttext \startluacode context.startoverlay() for i=25,95,5 do context("{%d}",i) end context.stopoverlay() \stopluacode \blank \startcollecting \collect{\startoverlay} \dostepwiserecurse{25}{95}{5}{\collectexpanded{{\recurselevel}}} \collect{\stopoverlay} \stopcollecting \stoptext Wolfgang