Difference between revisions of "Command/dorecurse"

From Wiki
Jump to navigation Jump to search
(looplevel --> recurselevel)
m
Line 46: Line 46:
 
* {{cmd|input}} is also often used to produce dummy text.
 
* {{cmd|input}} is also often used to produce dummy text.
 
* [[Programming_in_LuaTeX#Loops_without_worrying_about_expansion|LuaTeX]] for heavier-duty looping and iterating.
 
* [[Programming_in_LuaTeX#Loops_without_worrying_about_expansion|LuaTeX]] for heavier-duty looping and iterating.
 +
* {{cmd|definecounter}} to define custom numeric counters.
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

Revision as of 18:08, 23 September 2014

\dorecurse

Syntax

\dorecurse{n}{commands}
{n} The number of times to repeat the commands
{commands} Commands or text to repeat

Description

Repeat something a number of times.

Example

\dorecurse{3}{Meow\low{\recurselevel}... }

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: