Patrick Gundlach wrote:
Hello Jan-Mark,
using mptopdf
externalfigure "nue-logo-1.jpg" scaled 10;
results in a figure that doesn't retain the original image ratio.
[...]
I don't think it is possible. As far as I can see, the externalfigure command just includes a reference to the figure and metapost never touches (reads) the picture, only the next step (mptopdf) does. So metapost has no idea of the image attributes.
Patrick
If you do not specify BOTH width and height of the image the pdftex have to read image SIZE from the image file. Metafun's externalfigure is very trickery macro. Image can't be loaded by MP. Instead of that MP writes only MP special information (like TeX \special) with several parameters. This info is read by ConTeXt when including MP graphic. It inserts image file and does image transformations. So I thing the case should work as expected. Could you send complete-and-minimal example? Vit Zyka -- Vít Zýka --- http://typokvitek.com Automatic document typesetting Automaticka sazba dokumentu -- --