From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \dorecurse{}{} problem
Date: Mon, 21 Sep 2020 16:40:42 +0200 [thread overview]
Message-ID: <26509c7e-8521-c8d1-cae5-4a724cc7c79c@gmail.com> (raw)
In-Reply-To: <nycvar.YAK.7.78.908.2009211033020.1387305@nqv-guvaxcnq>
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
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2020-09-21 14:40 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 [this message]
2020-09-21 14:42 ` Aditya Mahajan
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=26509c7e-8521-c8d1-cae5-4a724cc7c79c@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
/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).