Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Hi, Initially, there was a bug with maro numberstriped() and Hans suggested another sensible approach to me, but you don't get the same shape of the hatches depending on the dimensions of the squares. Your solution works perfectly but I'm trying to understand the action of the parameters: the first

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Floris van Manen via ntg-context
On 02/10/2022 10:55, Fabrice Couvreur via ntg-context wrote: Initially, there was a bug with maro numberstriped() and Hans suggested another sensible approach to me, but you don't get the same shape of the hatches depending on the dimensions of the squares. some unexpected side effect show u

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Not only, it is also true with the code below : \startMPcode path p, q, r, b ; p := unitsquare xyscaled (4cm,4cm) ; z[0] = (2cm,0cm) ; z[1] = (2cm,4cm) ; z[2] = (0cm,2cm) ; q := llcorner p--z[0]--z[1]--z[2]--cycle ; r := unitsquare xyscaled (1cm,1cm) shifted(0,3cm) ;

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Hans Hagen via ntg-context
On 10/2/2022 11:20 AM, Floris van Manen via ntg-context wrote: On 02/10/2022 10:55, Fabrice Couvreur via ntg-context wrote: Initially, there was a bug with maro numberstriped() and Hans suggested another sensible approach to me, but you don't get the same shape of the hatches depending on the

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
I just tried but I got an empty file... Do we agree that I have to replace the two lines with the other two ? Regarding what you proposed, how to get the same type of hatching in both figures ? \startMPcode path p, q, r, b ; p := unitsquare xyscaled (4cm,4cm) ; z[0] = (2cm,0cm) ;

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Hans Hagen via ntg-context
On 10/2/2022 1:02 PM, Fabrice Couvreur via ntg-context wrote: I just tried but I got an empty file... Do we agree that I have to replace the two lines with the other two ? Regarding what you proposed, how to get the same type of hatching in both figures ? no, we disagree here; add them after th

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Ok, it works very well. Without wanting to insist, how to have the same hatching with two different figures ? Thanks. Fabrice Le dim. 2 oct. 2022 à 13:38, Hans Hagen via ntg-context a écrit : > On 10/2/2022 1:02 PM, Fabrice Couvreur via ntg-context wrote: > > I just tried but I got an empty file

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Hans Hagen via ntg-context
On 10/2/2022 3:13 PM, Fabrice Couvreur via ntg-context wrote: Ok, it works very well. Without wanting to insist, how to have the same hatching with two different figures ? see upcoming mail from Mikael Hans -

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Mikael Sundqvist via ntg-context
Hi, On Sun, Oct 2, 2022 at 3:26 PM Hans Hagen via ntg-context wrote: > > On 10/2/2022 3:13 PM, Fabrice Couvreur via ntg-context wrote: > > Ok, it works very well. Without wanting to insist, how to have the same > > hatching with two different figures ? > see upcoming mail from Mikael Oh, OK, her

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Hi Mikael, Great job ! Thanks Fabrice Le dim. 2 oct. 2022 à 15:37, Mikael Sundqvist via ntg-context < ntg-context@ntg.nl> a écrit : > Hi, > > On Sun, Oct 2, 2022 at 3:26 PM Hans Hagen via ntg-context > wrote: > > > > On 10/2/2022 3:13 PM, Fabrice Couvreur via ntg-context wrote: > > > Ok, it work