Re: [NTG-context] clipping in metafun has weird side effects

2014-11-02 Thread Hans Hagen
On 10/31/2014 1:33 PM, Tobias Columbus wrote: On Fri, Oct 31, 2014 at 12:22:37PM +0100, Hans Hagen wrote: On 10/31/2014 10:15 AM, Tobias Columbus wrote: def a_impl text t = begingroup save c ; picture c ; c := mycircle ; clip c to bbox c scaled 0.5 ; try this to see what

Re: [NTG-context] clipping in metafun has weird side effects

2014-11-02 Thread Tobias Columbus
On Sun, Nov 02, 2014 at 11:29:24AM +0100, Hans Hagen wrote: On 10/31/2014 1:33 PM, Tobias Columbus wrote: On Fri, Oct 31, 2014 at 12:22:37PM +0100, Hans Hagen wrote: On 10/31/2014 10:15 AM, Tobias Columbus wrote: def a_impl text t = begingroup save c ; picture c ; c := mycircle ;

Re: [NTG-context] clipping in metafun has weird side effects

2014-10-31 Thread Tobias Columbus
Hi again, I tried my example from yesterday in context with metapost format, but the output still differs from what mptopdf produces. While doing that, I noticed that the mpost format is currently not usable out of the box: \startMPcode{metapost} draw (0,0) -- (1cm,0) ; \stopMPcode produces

Re: [NTG-context] clipping in metafun has weird side effects

2014-10-31 Thread Hans Hagen
On 10/31/2014 9:58 AM, Tobias Columbus wrote: Hi again, I tried my example from yesterday in context with metapost format, but the output still differs from what mptopdf produces. While doing that, I noticed that the mpost format is currently not usable out of the box: \startMPcode{metapost}

Re: [NTG-context] clipping in metafun has weird side effects

2014-10-31 Thread Tobias Columbus
On Fri, Oct 31, 2014 at 10:05:35AM +0100, Hans Hagen wrote: On 10/31/2014 9:58 AM, Tobias Columbus wrote: Hi again, I tried my example from yesterday in context with metapost format, but the output still differs from what mptopdf produces. While doing that, I noticed that the mpost format

Re: [NTG-context] clipping in metafun has weird side effects

2014-10-31 Thread Hans Hagen
On 10/31/2014 10:15 AM, Tobias Columbus wrote: On Fri, Oct 31, 2014 at 10:05:35AM +0100, Hans Hagen wrote: On 10/31/2014 9:58 AM, Tobias Columbus wrote: Hi again, I tried my example from yesterday in context with metapost format, but the output still differs from what mptopdf produces. While

Re: [NTG-context] clipping in metafun has weird side effects

2014-10-31 Thread Hans Hagen
On 10/31/2014 10:15 AM, Tobias Columbus wrote: def a_impl text t = begingroup save c ; picture c ; c := mycircle ; clip c to bbox c scaled 0.5 ; try this to see what happens: % clip c to bbox c scaled 0.5 ; draw bbox c scaled 0.5 ; and then this to solve it: clip c to bbox (c

Re: [NTG-context] clipping in metafun has weird side effects

2014-10-31 Thread Tobias Columbus
On Fri, Oct 31, 2014 at 12:22:37PM +0100, Hans Hagen wrote: On 10/31/2014 10:15 AM, Tobias Columbus wrote: def a_impl text t = begingroup save c ; picture c ; c := mycircle ; clip c to bbox c scaled 0.5 ; try this to see what happens: % clip c to bbox c scaled 0.5 ; draw