Command/recursedepth

From Wiki
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: