ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \dorecurse{}{} problem
Date: Mon, 21 Sep 2020 10:42:28 -0400 (EDT)	[thread overview]
Message-ID: <nycvar.YAK.7.78.908.2009211041440.1387305@nqv-guvaxcnq> (raw)
In-Reply-To: <26509c7e-8521-c8d1-cae5-4a724cc7c79c@gmail.com>

On Mon, 21 Sep 2020, Wolfgang Schuster wrote:

> Aditya Mahajan schrieb am 21.09.2020 um 16:35:
> > On Mon, 21 Sep 2020, Jeong Dal wrote:
> > 
> > > Hi,
> > > 
> > > I tried to make a table using \dorecurse or \doloop as in the example.
> > > There is no error but \recurselevel is not increased, all are 0 in the
> > > first example and only two rows are created with the \recurselevel 0 and 2
> > > only in the second example.
> > > 
> > > Does the tabulate cause the error?
> > > What is wrong in this MWE?
> > \dorecurse does not expand its arguments. See this old blog post for a
> > discussion on this:
> > 
> > https://adityam.github.io/context-blog/post/tex-programming/
> 
> \starttext
> 
> \starttabulate[|c|]
> \dorecurse{8}{\NC ##1 \NC\NR}
> \stoptabulate
> 
> \stoptext

You gave the same reply 11 years ago :-) which is also listed in the blog post.

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2020-09-21 14:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1115.1600696248.1164.ntg-context@ntg.nl>
2020-09-21 14:07 ` Jeong Dal
2020-09-21 14:35   ` Aditya Mahajan
2020-09-21 14:40     ` Wolfgang Schuster
2020-09-21 14:42       ` Aditya Mahajan [this message]
2020-09-21 17:24         ` Otared Kavian
2020-09-21 14:40   ` Jairo A. del Rio
2020-09-21 14:40   ` Otared Kavian
     [not found] <mailman.1122.1600699352.1164.ntg-context@ntg.nl>
2020-09-21 18:54 ` Jeong Dal
2020-09-21 19:12   ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nycvar.YAK.7.78.908.2009211041440.1387305@nqv-guvaxcnq \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    --cc=wolfgang.schuster.lists@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).