[NTG-context] metapost boxes error
Aditya Mahajan
adityam at umich.edu
Wed May 20 21:38:23 CEST 2020
On Wed, 20 May 2020, jkitz at inradius.net wrote:
> Is there a different approach to use boxes.mp?
>
> MNWE:
>
> \startMPpage
> input boxes.mp;
> boxit.bl("left");
> boxit.br("right");
> br.sw - bl.ne = (20,0);
> drawboxed(bl,br);
> \stopMPpage
Move `input boxes` outside the `\startMPpage`.
\startMPdefinitions
input boxes.mp;
\stopMPdefinitions
\starttext
\startMPpage
boxit.bl("left");
boxit.br("right");
br.sw - bl.ne = (20,0);
drawboxed(bl,br);
\stopMPpage
\stoptext
Aditya
More information about the ntg-context
mailing list