Hi Aditya,

Thanks for the detailed file you sent to answer Dalyoung’s question and file. 
And going through both files I have a question.
I see that both of you use a function « whatever » (but is it a function ?): 
what does this do and where can it be used (actually I have seen Hans using 
this expression, but I had always thought this is just a name…

Best regards: Otared

> On 21 Jun 2021, at 06:26, Aditya Mahajan <adit...@umich.edu> wrote:
> 
> On Mon, 21 Jun 2021, Jeong Dal wrote:
> 
>> 
>> Hi,
>> 
>> I defined a macro definition in metafun, and draw figures using 
>> \startbuffer[] … \stopbuffer and \processMPbuffer[].
>> As you see in the attached code, the same macro definition is used 
>> repeatedly by changing the numeric argument. 
>> Is there a better way to simplify the code, for example, using \dorecurse 
>> and recurselevel?
> 
> See attached. The main idea is to store the repetitive bits in 
> \startuseMPgraphic{...} and then reuse them using \includeMPgraphic. 
> 
> Aditya<mp-test.tex>___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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 via email to