On 16-10-2012 23:08, Aditya Mahajan wrote:

If scale option for a figure is set, \externalfigure does not honor the
width and the height parameters. For example

\externalfigure[cow][width=1cm, height=3cm, scale=750]

gives a figure which has the usual aspect ratio.

I know that settings scale=... along with width and height does not make
sense. But, in one of my project, I set


as that makes sense for most of the figures, and if I try to use

\externalfigure[cow][width=1cm, height=3cm]

then the aspect ratio of the figures does not change.

Not sure if this should be classified as a bug, but I am posting it here
in case anyone else encounters the same issue and needs to know how to
override this behavior:

\externalfigure[cow][width=1cm, height=3cm, scale=]

if needed you can use an abstraction:


\defineexternalfigure[another] [scale=500]



                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
If your question is of interest to others as well, please add an entry to the 

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