[NTG-context] defining a comamnd as variable which behaves as constant

Aditya Mahajan adityam at umich.edu
Sun Apr 10 07:17:22 CEST 2016


On Sun, 10 Apr 2016, Pablo Rodriguez wrote:

> Dear list,
>
> I have the following document:
>
>    \mainlanguage[es]
>    \starttext
>    \startTEXpage[offset=1em]
>    \dorecurse{27}%
>        {\def\abcd{\convertnumber{a}{\recurselevel}}%
>            \dorecurse{27}%
>                {\abcd\convertnumber{a}{\recurselevel} }\par}
>    \stopTEXpage
>    \stoptext
>
> I want to test all lowercase-letter pairs in Spanish.
>
> Is there any way to achieve that without using counters? Sorry if there
> is too much nonsense in the previous paragraph. But I need to know how
> to do it for another example too.

\edef\abcd{....}

Aditya


More information about the ntg-context mailing list