At 11:13 AM 4/24/2002 +0200, Jaroslav Snajdr wrote:
>Hello,
>
>I write a document that contains a lot of figures - screenshots. And I
>have a problem with their scaling. They look the best if I write
>
>\externalfigure[window.png][scale=3000]
>
>However, some screenshots are so large that they are wider that the
>paper. So, what I need is to tell context to use scale=3000 most of the
>time, but if the figure would be wider than \textwidth, just scale the
>figure to \textwidth.
>
>\setupexternalfigures[xmax=\textwidth]

\externalfigure[window.png][scale=3000,maxwidth=\textwidth,maxheight=\textheight]

or (dirty untested trick):

\useexternalfigure[screenshot][screenshot][scale=3000,.....]

\externalfigure[window.png][screenshot]


-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

Reply via email to