![](https://secure.gravatar.com/avatar/e6b86c0b3b2e9d3689a49d35347051c3.jpg?s=120&d=mm&r=g)
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 LOG snippets: system > ConTeXt ver: 2020.04.10 19:11 MKIV beta fmt: 2020.4.19 int: english/english metapost log > loading metafun, including plain.mp version 1.004 for metafun iv and xl metapost log > metapost log > >> _dojoin metapost log > ! Isolated expression.
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
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
participants (2)
-
Aditya Mahajan
-
jkitz@inradius.net