Changes

Jump to navigation Jump to search
996 bytes added ,  13:37, 25 May 2012
Create dorecurse page
{{Reference
|name=dorecurse
|attributes=
}}

== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\dorecurse
<span class="first" >{''n''}</span>
<span class="second" >{''commands''}</span>
</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">{''n''}</td>
<td>The number of times to repeat the commands</td>
</tr>
<tr valign="top" class="second">
<td class="cmd">{''commands''}</td>
<td>Commands or text to repeat</td>
</tr>
</table>


== Description ==

Repeat a command a number of times.

== Example ==
<context source=yes>
\dorecurse{3}{Meow...\ }
</context>

== See also ==
* {{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.

== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|{{SUBPAGENAME}}}}

[[Category:Command/Internals|dorecurse]]

Navigation menu