Re: [NTG-context] passvariable(); path problem

2013-10-07 Thread Peter Rolf
Am 06.10.2013 17:06, schrieb Hans Hagen: On 10/6/2013 3:05 PM, Peter Rolf wrote: Thanks for the explanation. I think I have understood the scheme (but I might be wrong, because this doesn't help me with my example). Where is the starting point['20 20'] in the returned example path? Same is

Re: [NTG-context] passvariable(); path problem

2013-10-07 Thread luigi scarso
On Mon, Oct 7, 2013 at 10:48 AM, Peter Rolf indi...@gmx.net wrote: Am 06.10.2013 17:06, schrieb Hans Hagen: On 10/6/2013 3:05 PM, Peter Rolf wrote: Thanks for the explanation. I think I have understood the scheme (but I might be wrong, because this doesn't help me with my example).

Re: [NTG-context] passvariable(); path problem

2013-10-07 Thread Hans Hagen
On 10/7/2013 11:47 AM, luigi scarso wrote: (You can fix it and rebuild the format. To understand the output, is better to know that mfun_point_to_string is no need to rebuild the format (at least not currently) as mp loads runtime the next beta will have (the somewhat useless) helper:

Re: [NTG-context] passvariable(); path problem

2013-10-07 Thread Peter Rolf
Am 07.10.2013 11:47, schrieb luigi scarso: On Mon, Oct 7, 2013 at 10:48 AM, Peter Rolf indi...@gmx.net mailto:indi...@gmx.net wrote: Am 06.10.2013 17:06, schrieb Hans Hagen: On 10/6/2013 3:05 PM, Peter Rolf wrote: Thanks for the explanation. I think I have

Re: [NTG-context] passvariable(); path problem

2013-10-06 Thread Peter Rolf
Am 06.10.2013 00:37, schrieb Hans Hagen: On 10/5/2013 5:52 PM, Peter Rolf wrote: I played around with it, but I have problems to understand the format of the returned path. Example: % \setuppagenumber[state=stop] \starttext \nopdfcompression \startMPpage path p; p:=

Re: [NTG-context] passvariable(); path problem

2013-10-06 Thread Hans Hagen
On 10/6/2013 3:05 PM, Peter Rolf wrote: Thanks for the explanation. I think I have understood the scheme (but I might be wrong, because this doesn't help me with my example). Where is the starting point['20 20'] in the returned example path? Same is true for the first control point ['20

Re: [NTG-context] passvariable(); path problem

2013-10-05 Thread Peter Rolf
I played around with it, but I have problems to understand the format of the returned path. Example: % \setuppagenumber[state=stop] \starttext \nopdfcompression \startMPpage path p; p:= (20,20){up} .. {down}(200,100); passvariable(path,p); draw p ; \stopMPpage

Re: [NTG-context] passvariable(); path problem

2013-10-05 Thread Hans Hagen
On 10/5/2013 5:52 PM, Peter Rolf wrote: I played around with it, but I have problems to understand the format of the returned path. Example: % \setuppagenumber[state=stop] \starttext \nopdfcompression \startMPpage path p; p:= (20,20){up} .. {down}(200,100);

[NTG-context] passvariable(); path problem

2013-10-04 Thread Peter Rolf
Hi, I played around with the new passvariable() option and ran into errors when passing a path. Used the latest beta (01.10.2013). Can someone confirm this? Peter \starttext \startMPcode passvariable(path,fullcircle scaled 1cm) ; \stopMPcode \stoptext

Re: [NTG-context] passvariable(); path problem

2013-10-04 Thread Hans Hagen
On 10/4/2013 2:52 PM, Peter Rolf wrote: Hi, I played around with the new passvariable() option and ran into errors when passing a path. Used the latest beta (01.10.2013). Can someone confirm this? in mp-mlib.mpiv: vardef mfun_path_to_string(expr p) = mfun_point_to_string(p,1) for i=2