Message: 5
Date: Wed, 20 May 2020 15:38:23 -0400 (EDT)
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: [NTG-context] metapost boxes error

On Wed, 20 May 2020, jkitz@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


Of all things. Thanks Aditya!