Difference between revisions of "Command/dorecurse"

From ConTeXt wiki
Jump to navigationJump to search
m (Comment out line endings, they break stuff)
m (typo!)
Line 34: Line 34:
 
== See also ==
 
== See also ==
 
* {{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.
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

Revision as of 13:38, 25 May 2012

\dorecurse

Syntax

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


Description

Repeat a command a number of times.

Example

\dorecurse{3}{Meow...\ }

See also

  • \input is also often used to produce dummy text
  • LuaTeX for heavier-duty looping and iterating.

Help from ConTeXt-Mailinglist/Forum

All issues with: