> the fit assumes operating on a page not in a box; an alternative is: > > \framed[width=5cm,height4cm] > {\externalfigure[mill.png][maxwidth=4cm,maxheight=5cm,width=10cm]} > > i.e. setting the maximum values
hmm, \frame can be slow. Maybe something like \vbox to4cm{\hsize=5cm ..} ? -- luigi ---------------------------------------------------------------- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________