Am 19.09.2011 14:31, schrieb Meer, H. van der:
I used to put an invisible frame around figures in MetaPost by setting a pen scaled at 0pt. That left no trace, but defined the area. However I (now) see a thin line drawn by code:
pickup pencircle scaled 0pt; draw origin--(w,h);
Did I always mis this or has something changed? For example a roundoff away from zero in MetaPost? By the way I am typesetting through ConTeXT with \startMPpage … \stopMPpage.
Donno (as I never used this method). Better use 'setbounds currentpicture to' .. .. 'unitsquare xyscaled(w,h);' .. 'OverlayBox;' .. <whatever is squared>; at the end of your graphic. This simply sets the bounding box of you graphic and has no unwanted side effects.
Hans van der Meer
___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________