> Message: 5 > Date: Wed, 20 May 2020 15:38:23 -0400 (EDT) > From: Aditya Mahajan <adit...@umich.edu <mailto:adit...@umich.edu>> > Subject: Re: [NTG-context] metapost boxes error > > On Wed, 20 May 2020, jk...@inradius.net <mailto:jk...@inradius.net> wrote: > >> Is there a different approach to use boxes.mp? >> >> MNWE: >> >> \startMPpage >> input boxes.mp; >> boxit.bl("left"); >> boxit.br <http://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 <http://boxit.br/>("right"); > br.sw - bl.ne = (20,0); > drawboxed(bl,br); > \stopMPpage > \stoptext > > > Aditya >
Of all things. Thanks Aditya!
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________