For some reason there is a difference between placing the opening \HL before the \dorecurse and include a closing \HL in the loop, versus placing the opening \HL it in the loop and appending the closing \HL outside the \dorecurse.

Is this the reason to use the new \expandedrepeat instead?

.Floris



8<---

\starttext

\starttabulate[|l|] % this does not work
\dorecurse{5}{ \HL \NC b \AR } \HL
\stoptabulate

\starttabulate[|l|] % this works
\HL \dorecurse{5}{ \NC a \AR \HL }
\stoptabulate

\starttabulate[|l|] % this works
\HL \NC c \AR
\HL \NC c \AR
\HL \NC c \AR
\HL \NC c \AR
\HL \NC c \AR
\HL
\stoptabulate

\starttabulate[|l|] % this works
\expandedrepeat 5 { \HL \NC d \AR } \HL
\stoptabulate

\stoptext

--->8

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to