From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89340 Path: news.gmane.org!not-for-mail From: Mark Szepieniec Newsgroups: gmane.comp.tex.context Subject: How does \setupfloat work? Date: Sat, 29 Nov 2014 10:49:15 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1656933848==" X-Trace: ger.gmane.org 1417254867 24034 80.91.229.3 (29 Nov 2014 09:54:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2014 09:54:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 29 10:54:22 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XuejN-0000zo-R3 for gctc-ntg-context-518@m.gmane.org; Sat, 29 Nov 2014 10:54:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 70FD910205 for ; Sat, 29 Nov 2014 10:54:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id F5Mx63pj2_yS for ; Sat, 29 Nov 2014 10:54:20 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 99D2210244 for ; Sat, 29 Nov 2014 10:53:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 743DB1020E for ; Sat, 29 Nov 2014 10:53:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MLaOGR1Y2Cdk for ; Sat, 29 Nov 2014 10:53:42 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id C78B81020C for ; Sat, 29 Nov 2014 10:49:17 +0100 (CET) Original-Received: from mail-qa0-x235.google.com (mail-qa0-x235.google.com [IPv6:2607:f8b0:400d:c00::235]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sAT9nGKR001945 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sat, 29 Nov 2014 10:49:17 +0100 Original-Received: by mail-qa0-f53.google.com with SMTP id bm13so5414371qab.12 for ; Sat, 29 Nov 2014 01:49:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7CnBpwci06bBXNRcXj3OKGgTRQoH5B1tlHRVczPeop0=; b=iu2SzUaIAFJli0HPzZBInIRlyLYc4aYwCn0mzEZaRFTUUEoYoLZtFLVMnOLMlJKox0 bBzFRZliubMvGRwljdnyddEALngfskCqs3q90LmYge6UAXstyYAEB4MtvjhNM4wuNV0w OWqd0vgDJkjq09+MUwx/0pLkpWisX33fTZ3zYEUsRAYqzuL6GYPrBczzuBWMQa8jH6VF eaQpkOGThSUHolJPxXmYiB/uWZePINZay54OtuvBTAbAoLgYEOvUb7mkoH4XImsTKLYz bdtqnnJaAnheUQPclQL22jUqBsYH3v/QcjdTkOdZrHEsJIjYWnt0M1DCq5cF3V+uabxr KPww== X-Received: by 10.224.72.5 with SMTP id k5mr70621960qaj.2.1417254555760; Sat, 29 Nov 2014 01:49:15 -0800 (PST) Original-Received: by 10.229.28.193 with HTTP; Sat, 29 Nov 2014 01:49:15 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c00::235; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01NllNhES - 73374b19bebe - 20141129 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:89340 Archived-At: --===============1656933848== Content-Type: multipart/alternative; boundary=047d7bea306a5a3d6d0508fc4a9c --047d7bea306a5a3d6d0508fc4a9c Content-Type: text/plain; charset=UTF-8 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 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 --047d7bea306a5a3d6d0508fc4a9c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm trying to set a default width for figures with \se= tupfloat. However, the command doesn't seem to be picking up the width = specification, even though the manual indicates it accepts a width=3D argum= ent:

\setupfloat[figure][width=3D2cm]
\starttext

\placefigure{}{\externalfig= ure[picture.png]}


\stoptext


picture.png just gets inserted at it= s native size, rather than scaled to have the specified width. What am I do= ing wrong? (setting minwidth and/or maxwidth doesn't seem to work eithe= r)

Thanks in advance for any assistance.

Mark
--047d7bea306a5a3d6d0508fc4a9c-- --===============1656933848== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1656933848==--