From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7764 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Scaling figures Date: Wed, 24 Apr 2002 13:40:02 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020424133822.03605320@10.100.1.1> References: <3CC6773B.68017D6D@kerio.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035398210 22088 80.91.224.250 (23 Oct 2002 18:36:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:36:50 +0000 (UTC) Cc: Context list Original-To: Jaroslav Snajdr In-Reply-To: <3CC6773B.68017D6D@kerio.com> Xref: main.gmane.org gmane.comp.tex.context:7764 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7764 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 | pragma@wxs.nl 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 -------------------------------------------------------------------------