Re: [NTG-context] Data into arrays in Metapost

2005-08-12 Thread Taco Hoekwater
David Arnold wrote: Hi, Is there a way to read an entire data set into an array in Metpost, something like: numeric coeffs[]; coeffs:=[1,2,3,4,5]; Not like this. You need to write a loop. Metaposts variables are not really arrays, merely objects with composite names of which the

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Jin-Hwan Cho
On Aug 11, 2005, at 8:26 AM, Hans Hagen wrote: StartPage .. StopPage will make a graphic as large as the current page; dimensions are passed by context to mp, but this happens before the graphic is drawn; so, the graphic becomes (default) a4. just omit the StartPage .. StopPage (the inner

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Vit Zyka
Jin-Hwan Cho wrote: On Aug 11, 2005, at 8:26 AM, Hans Hagen wrote: StartPage .. StopPage will make a graphic as large as the current page; dimensions are passed by context to mp, but this happens before the graphic is drawn; so, the graphic becomes (default) a4. just omit the StartPage ..

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Jin-Hwan Cho
On Aug 12, 2005, at 7:15 PM, Vit Zyka wrote: \defineframed[Shaped][...=...] Thanks. However what I wanted to know was the definition of \Shaped which generates the second figure in p.145 of metafun-p.pdf (the oval shape in the second line went to under the first oval). Best, ChoF.

Re: [NTG-context] A wee bit more about OpenType (Myriad Pro)

2005-08-12 Thread David Wooten
Adam, there's no hurry on this one if it seems tricky. I'm also "on vacation" ;).Anyway, the font root is the same as I've used for earlier installations. The map files indeed do not look healthy, in fact they are empty after the comment. DaveOn Aug 10, 2005, at 12:41 PM, Adam Lindsay wrote:David

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Hans Hagen
Jin-Hwan Cho wrote: On Aug 12, 2005, at 7:15 PM, Vit Zyka wrote: \defineframed[Shaped][...=...] Thanks. However what I wanted to know was the definition of \Shaped which generates the second figure in p.145 of metafun-p.pdf (the oval shape in the second line went to under the first oval).

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Jin-Hwan Cho
On Aug 13, 2005, at 1:10 AM, Hans Hagen wrote: \defineframed[Shaped][background=Shape,frame=off,location=low] Thanks. Still I could not get the right figure with \setuplayer[BackLayer][direction=reverse] Even though direction=reverse option was given, I got only the first figure. Means that

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Vit Zyka
Jin-Hwan Cho wrote: On Aug 13, 2005, at 1:10 AM, Hans Hagen wrote: \defineframed[Shaped][background=Shape,frame=off,location=low] Thanks. Still I could not get the right figure with \setuplayer[BackLayer][direction=reverse] Even though direction=reverse option was given, I got only the

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Hans Hagen
Vit Zyka wrote: Jin-Hwan Cho wrote: On Aug 13, 2005, at 1:10 AM, Hans Hagen wrote: \defineframed[Shaped][background=Shape,frame=off,location=low] Thanks. Still I could not get the right figure with \setuplayer[BackLayer][direction=reverse] Even though direction=reverse option was