Re: [NTG-context] Undefined control sequence: \pdfpxdimen

2020-06-22 Thread Aditya Mahajan
On Mon, 22 Jun 2020, Aditya Mahajan wrote: Replying to an old thread ... but drops module does not work with lmtx because \pxdimen is not defined. On Thu, 10 Mar 2016, Hans Hagen wrote: On 3/10/2016 12:03 AM, Aditya Mahajan wrote: The drops module uses the primitive \pdfpxdimen in a

Re: [NTG-context] Undefined control sequence: \pdfpxdimen

2020-06-22 Thread Aditya Mahajan
Replying to an old thread ... but drops module does not work with lmtx because \pxdimen is not defined. On Thu, 10 Mar 2016, Hans Hagen wrote: On 3/10/2016 12:03 AM, Aditya Mahajan wrote: The drops module uses the primitive \pdfpxdimen in a couple of places, but that is no longer defined in

Re: [NTG-context] How to define an array of pens

2020-06-22 Thread Alan Braslau
On 22/06/20 01:17, Otared Kavian wrote: for j = -1 step 1 until 1 : MyPens[j] := pencircle scaled 2pt ; % I would like to say here (2+j) pt endfor MyPens[j] := pencircle scaled (2+j)*pt ; pt is just a variable, and one can write 2pt implicitly implying the

Re: [NTG-context] How to define an array of pens

2020-06-22 Thread Otared Kavian
Thanks Taco! I added this and Hans' explanations to the wiki: https://wiki.contextgarden.net/variable_color but could not set a better title for that page such as « Variable arrays of colors, pens, paths ». Best regards: Otared > On 22 Jun 2020, at 09:28, Taco Hoekwater wrote: > >

Re: [NTG-context] How to define an array of pens

2020-06-22 Thread Taco Hoekwater
> On 22 Jun 2020, at 09:17, Otared Kavian wrote: > > Hi Hans, > > After learning from you how to define an array of colors and paths, I would > like to know how is it possible to define a variable pen size. > In the following working example below, I would like to replace > >

[NTG-context] How to define an array of pens

2020-06-22 Thread Otared Kavian
Hi Hans, After learning from you how to define an array of colors and paths, I would like to know how is it possible to define a variable pen size. In the following working example below, I would like to replace MyPens[j] := pencircle scaled 2pt ; by something like MyPens[j]