Command/recursedepth

From Wiki
< Command
Revision as of 21:02, 14 January 2025 by Garulfoo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

\recursedepth

Syntax (autogenerated)

\recursedepth


Syntax

\recursedepth

Description

The nesting depth in the case of nested \dorecurse, \dostepwiserecurse, and \doloop.

Example

  • \dorecurse{2}{
        \recursedepth.\recurselevel:\crlf
        ---\dorecurse{3}
            {\recursedepth.\recurselevel\ }
        \crlf
        ---\doloop
           {\recursedepth.\recurselevel\ 
            \ifnum \recurselevel=2 \exitloop \fi}
        \crlf
    }
    

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: