On 11/29/2014 10:49 AM, Mark Szepieniec wrote:
I'm trying to set a default width for figures with \setupfloat. However,
the command doesn't seem to be picking up the width specification, even
though the manual indicates it accepts a width= argument:
\setupfloat[figure][width=2cm]
\starttext
\placefigure{}{\externalfigure[picture.png]}
\stoptext
just
\placefigure{}{\externalfigure[picture.png][width=2cm]}
picture.png just gets inserted at its native size, rather than scaled to
have the specified width. What am I doing wrong? (setting minwidth
and/or maxwidth doesn't seem to work either)
Thanks in advance for any assistance.
Mark
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
--
-----------------------------------------------------------------
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 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________