Re: [NTG-context] Sequence of MetaPost Pages

2012-09-09 Thread Troy Henderson
> > label(decimal(n),origin); > Sorry. I found the answer by wrapping the decimal() inside textext(). That is, label(textext(decimal(n)),origin); does what I want. Troy ___ If your question is of interest to others

Re: [NTG-context] Sequence of MetaPost Pages

2012-09-09 Thread Troy Henderson
That works great too. One more question now. I would like a particular MetaPost label to contain the value of a variable, say n. I don't want to use label(decimal(n),origin); because I want the label to be a TeX picture instead of a string. That is, I would like to have label(btex n etex,ori

Re: [NTG-context] Sequence of MetaPost Pages

2012-09-09 Thread Aditya Mahajan
That works great. Now I have defined a global numeric N:=8; in \startMPinclusions ... \stopMPinclusions at the be beginning of my document. All of my \startMPpage ... \stopMPpage environments understand this N, but how do I reference this value as the start value for \dostepwiserecurse? That

Re: [NTG-context] Sequence of MetaPost Pages

2012-09-09 Thread Troy Henderson
That works great. Now I have defined a global numeric N:=8; in \startMPinclusions ... \stopMPinclusions at the be beginning of my document. All of my \startMPpage ... \stopMPpage environments understand this N, but how do I reference this value as the start value for \dostepwiserecurse? That i

Re: [NTG-context] Sequence of MetaPost Pages

2012-09-09 Thread Aditya Mahajan
On Sun, 9 Sep 2012, Troy Henderson wrote: When I create animations using MetaPost, I typically do something like for n=1 upto N: beginfig(n); endfig; endfor; and a sequence of figures are created. How can I do this in ConTeXt using \startMPpage ... \stopMPpage? (untested) \dorecu

[NTG-context] Sequence of MetaPost Pages

2012-09-09 Thread Troy Henderson
When I create animations using MetaPost, I typically do something like for n=1 upto N: beginfig(n); endfig; endfor; and a sequence of figures are created. How can I do this in ConTeXt using \startMPpage ... \stopMPpage? Troy Henderson ___