Patrick Gundlach wrote:

[...]



So I thing the case should work as expected. Could you send
complete-and-minimal example?



\starttext \startMPcode externalfigure "hacker.jpg" scaled 300; \stopMPcode \stoptext


where hacker.jpg is from the official samples.



its possible to use the natural size, but i found out that the code that i use for that is not in the distribution (will be in the next zip)


This will create a dimensions file mpfigs.mp:

\startmode[*first] \executesystemcommand{texexec --fig=d *.jpg} \stopmode

\starttext
\startMPcode
input mpfigs.mp ;
naturalfigure("hacker.jpg") ;
\stopMPcode
\stoptext

Hans

-----------------------------------------------------------------
                                         Hans Hagen | PRAGMA ADE
             Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                            | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to