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

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,

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 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

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

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 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

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 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

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

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

2022-10-01 Thread Mikael Sundqvist via ntg-context
Hi, Is this what you are looking for? On Sat, Oct 1, 2022 at 7:43 PM Fabrice Couvreur via ntg-context wrote: > > Hi Hans, > When the rectangles are not identical, how to have the same type of hatching > in both ? > Thanks. > Fabrice > > > \starttext > \startlinecorrection[blank] >

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

2022-10-01 Thread Fabrice Couvreur via ntg-context
Hi Hans, When the rectangles are not identical, how to have the same type of hatching in both ? Thanks. Fabrice \starttext \startlinecorrection[blank] \startmidaligned \switchtobodyfont[9pt] \startMPcode path p, q, r, b ; p := unitsquare xyscaled (4cm,4cm) ; z[0] =

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

2022-09-28 Thread Henning Hraban Ramm via ntg-context
Am 28.09.22 um 15:29 schrieb Hans Hagen via ntg-context: On 9/28/2022 3:11 PM, Fabrice Couvreur via ntg-context wrote: PS : What is the exact meaning of the word "blobs" because my English is average ? in order to get 'lines' you need to fill the two opposing corners with "blobs of ink"

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

2022-09-28 Thread Hans Hagen via ntg-context
On 9/28/2022 3:11 PM, Fabrice Couvreur via ntg-context wrote: Hi Hans, Thank you for this solution which is an approach that I did not know. Fabrice PS : What is the exact meaning of the word "blobs" because my English is average ? in order to get 'lines' you need to fill the two opposing

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

2022-09-28 Thread Fabrice Couvreur via ntg-context
Hi Hans, Thank you for this solution which is an approach that I did not know. Fabrice PS : What is the exact meaning of the word "blobs" because my English is average ? Le mar. 27 sept. 2022 à 22:04, Hans Hagen via ntg-context < ntg-context@ntg.nl> a écrit : > On 9/27/2022 7:49 PM, Fabrice

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

2022-09-27 Thread Hans Hagen via ntg-context
On 9/27/2022 7:49 PM, Fabrice Couvreur via ntg-context wrote: Hello, I notice a strange behavior of the macro numberstriped ( ). Thanks. Fabrice \starttext  \switchtobodyfont[9pt]  \startMPcode   path p, q, r, b ;   p  := unitsquare xyscaled (4cm,4cm) ;   z[0] = (2cm,0cm) ;   z[1] =

[NTG-context] About macro numberstriped ()

2022-09-27 Thread Fabrice Couvreur via ntg-context
Hello, I notice a strange behavior of the macro numberstriped ( ). Thanks. Fabrice \starttext \switchtobodyfont[9pt] \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