From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71304 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Frame around float and its caption, how to? Date: Sun, 25 Sep 2011 18:32:12 +0200 Message-ID: <5DF7F999-4242-4F9C-926B-D042356B89EC@googlemail.com> References: <4E7F5280.4070003@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1316968358 17865 80.91.229.12 (25 Sep 2011 16:32:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Sep 2011 16:32:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 25 18:32:33 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R7rd2-0006pa-5r for gctc-ntg-context-518@m.gmane.org; Sun, 25 Sep 2011 18:32:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C98CCCAF37; Sun, 25 Sep 2011 18:32:30 +0200 (CEST) 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 5d2IEHj6uRgd; Sun, 25 Sep 2011 18:32:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1D44DCAFC4; Sun, 25 Sep 2011 18:32:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 072D5CAFC4 for ; Sun, 25 Sep 2011 18:32:27 +0200 (CEST) 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 5UdKM0WU7UQ7 for ; Sun, 25 Sep 2011 18:32:25 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 2AE36CAF37 for ; Sun, 25 Sep 2011 18:32:25 +0200 (CEST) Original-Received: from mail-ey0-f169.google.com (mail-ey0-f169.google.com [209.85.215.169]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8PGWNsr001114 for ; Sun, 25 Sep 2011 18:32:24 +0200 Original-Received: by eye13 with SMTP id 13so4003198eye.14 for ; Sun, 25 Sep 2011 09:32:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=JPBe9tegsbO+9/vNSA8+3fY9PgjmD0oXbvQ6SYYEBrA=; b=h9uk2jTs5aeME1GJy8S/4unZ+zXzevEb0NxEdpUZNseAVOEmk0BTO2CT2I5c9B01Xw rF5FUjul4h1EmdVvAs004yb2VCrAq9vUoA/qpdXQxFrz7POKbppu8JjM9lfyd3Cdz3tI dBDV1s1l+0nkP/jitX2k3Not0JSUcGo2yL+Tc= Original-Received: by 10.213.28.209 with SMTP id n17mr730584ebc.144.1316968343536; Sun, 25 Sep 2011 09:32:23 -0700 (PDT) Original-Received: from [192.168.2.31] (p5482CDD3.dip.t-dialin.net. [84.130.205.211]) by mx.google.com with ESMTPS id e4sm51607886eec.10.2011.09.25.09.32.20 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 25 Sep 2011 09:32:22 -0700 (PDT) In-Reply-To: <4E7F5280.4070003@gmx.de> X-Mailer: Apple Mail (2.1244.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bFB4wn5t - e7624b395009 - 20110925 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:71304 Archived-At: Am 25.09.2011 um 18:10 schrieb Stefan M=FCller: > Hi list, > = > I'm using 201100920 00:09 MkIV standalone. Some time ago Marcin Borkowsk= i asked [1] on this list about framing floats together with their captions.= It seems to be unanswered and now I stumbled upon a similar problem. I w= ant to have a figure with a caption together in a frame as wide as the surr= ounding text, aka \textwidth and the caption filling the available horizont= al space. I.e. I want something like > = > \setupcaption[width=3D\textwidth] > \starttext > \placefigure[here]{\input tufte}{\externalfigure[cow]} > \stoptext > = > with a frame around it. Found this in my mail archive: % engine=3Dpdftex \setupexternalfigures[location=3D{local,global,default}] \setupfloats[frame=3Don,frameoffset=3D1mm] \starttext \section{A figure with a background} \placefigure {none} {\placelegend {\externalfigure[mill][scale=3D2000]} {\placefloatcaption[figure]{A dutch mill}}} \stoptext It works only with MkII because \placefloatcaption isn=92t yet rewritten fo= r the new MkIV code. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________