On 10/28/2010 12:12 PM, Peter Rolf wrote:
Hi,

I started using 'MPinitialisation' to store some global variables. Much
easier than passing them over and over again to MP macros. Sadly this
way is inaccurate with the unit 'px' (no such problems with 'pt').
See attached example. The frame gives the exact size, showing that the
MP graphic is 'out of bounds'.

Probably because metapost calculates in printer points of 72pt/in,
instead of tex's 72.27pt/in. So your mp scale factor is likely to
be a little off.

Best wishes,
Taco
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to