looping an overlay
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? Many thanks for your help, Pablo -- http://www.ousia.tk
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
On 2/24/21 7:44 PM, Wolfgang Schuster wrote:
Pablo Rodriguez schrieb am 24.02.2021 um 19:23:
[...] \starttext \startTEXpage[offset=1em] \startoverlay \dostepwiserecurse{25}{95}{5} {{\recurselevel\ }} \stopoverlay \stopTEXpage \stoptext
Which is the right way to loop an overlay? [...] \startcollecting \collect{\startoverlay} \dostepwiserecurse{25}{95}{5}{\collectexpanded{{\recurselevel}}} \collect{\stopoverlay} \stopcollecting
Many thanks for your fast reply, Wolfgang. This is exactly what I needed. Many thanks for your help, Pablo -- http://www.ousia.tk
participants (2)
-
Pablo Rodriguez
-
Wolfgang Schuster