[metapost] pdftex \pdflastxpos for metapost?

Taco Hoekwater taco at elvenkind.com
Mon May 9 11:00:01 CEST 2005

Hi Hartmut,

Hartmut Henkel wrote:
> Problem is that \pdflastx/ypos are integers in sp units, too large for
> mpost to handle. Now how to reduce these integers? Is it possible to do
> this already on the pdftex side during/inside the \write{} by some
> division macro? 

Does this help (depends on your macro setup)?

   A \pdfsavepos \vfil\eject
   \dimen0=\pdflastxpos sp

Bye, Taco

More information about the metapost mailing list