ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* for-loop
@ 2018-08-30 15:15 Hans van der Meer
  2018-08-30 15:45 ` for-loop Pablo Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Hans van der Meer @ 2018-08-30 15:15 UTC (permalink / raw)
  To: NTG ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 264 bytes --]

Sorry to ask, but I forgot how to execute a (for)-loop in an environment where \loop..\repeat gives the error:

! Undefined control sequence

\loop #1\repeat ->\def \@@plnbody 
                                  {#1}\@@plniterate

dr. Hans van der Meer



[-- Attachment #1.2: Type: text/html, Size: 3094 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: for-loop
  2018-08-30 15:15 for-loop Hans van der Meer
@ 2018-08-30 15:45 ` Pablo Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Rodriguez @ 2018-08-30 15:45 UTC (permalink / raw)
  To: ntg-context

On 08/30/2018 05:15 PM, Hans van der Meer wrote:
> Sorry to ask, but I forgot how to execute a (for)-loop in an environment
> where \loop..\repeat gives the error:
> 
> ! Undefined control sequence
> 
> \loop #1\repeat ->\def \@@plnbody 
>                                   {#1}\@@plniterate

I wonder whether this might help you:
http://wiki.contextgarden.net/System_Macros/Loops_and_Recursion#.5Cdoloop_.5Cexitloop.

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-30 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-30 15:15 for-loop Hans van der Meer
2018-08-30 15:45 ` for-loop Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).