From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75026 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Nested floats Date: Sun, 11 Mar 2012 09:57:36 +0100 Message-ID: References: <4F5A31EB.40209@gmail.com> <4F5BD6AD.8080700@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1331456271 7720 80.91.229.3 (11 Mar 2012 08:57:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Mar 2012 08:57:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 11 09:57:51 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S6eb6-0004bf-Ps for gctc-ntg-context-518@m.gmane.org; Sun, 11 Mar 2012 09:57:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 679B6CB319; Sun, 11 Mar 2012 09:57:48 +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 EPf82Xp0CzlY; Sun, 11 Mar 2012 09:57:46 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0242ECB31F; Sun, 11 Mar 2012 09:57:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 827D2CB322 for ; Sun, 11 Mar 2012 09:57:44 +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 9PPzJg0xJHZM for ; Sun, 11 Mar 2012 09:57:42 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 489A1CB319 for ; Sun, 11 Mar 2012 09:57:42 +0100 (CET) Original-Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q2B8vfhA013497 for ; Sun, 11 Mar 2012 09:57:41 +0100 Original-Received: by wibhn6 with SMTP id hn6so1930167wib.2 for ; Sun, 11 Mar 2012 00:57:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=6A68Ec0TCgjmwVau9Zx7YdaUdyI6AYcxfb14ugU/IlA=; b=TUHn1dCmT+LJRoEkKzWH3eHyppVaQfsB35CCGnhdeS3UmGgqrkrWjpLLK12LVjdoBv jOk7EM+JrB56iqTbvn45CapXnczNBaGQhPn48nnVbiei5PFHE+ws98R9b0ZTBDPP8QNx xbOPVxKsM1EUaI804PR9XCKCaIqhIMg3O+FXEn7W+N+tEuu7OSvPGcKEfjuErvVy4X6q QE+CU1K8g4mv9gJQ9r2LmPKR5qytCqhxISdf0+R5GvJYElS/DTni8JUnNDr4VZUamBaU rCfP5z8OGJ3Rcl/Lhj5fC4w5O7xgm5cCuXWzbIA/1FWxgYBvgC02fEhbxr3CRQgYTVx/ H84A== Original-Received: by 10.180.92.229 with SMTP id cp5mr18130149wib.8.1331456261216; Sun, 11 Mar 2012 00:57:41 -0800 (PST) Original-Received: from [192.168.2.36] (p57AFAF41.dip.t-dialin.net. [87.175.175.65]) by mx.google.com with ESMTPS id ep17sm22222311wid.2.2012.03.11.00.57.39 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 11 Mar 2012 00:57:40 -0800 (PST) In-Reply-To: <4F5BD6AD.8080700@gmail.com> X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.179; 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: 0UGI8VF1F - 61033c5a7225 - 20120311 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:75026 Archived-At: Am 10.03.2012 um 23:33 schrieb Prashanth: > Hi Wolfgang, > This is exactly what I was looking for. However, it works only in mkii, n= ot in mkiv. Searching though the mailinglist for floatcombinations, I came = across this discussion ( http://archive.contextgarden.net/message/20100601.= 084655.c7d6e858.en.html). Taco's solution works just like Hans' code, but a= gain, only in mkii. With a simple fix in strc-flt.mkvi \startcombination will work but still ea= ch figure is to wide and all of them won=92t fit on the page. \def\somelocalfloat % strc-flt.mkvi: was \def\somelocalfloat[#1]% {\doglobal\increment\noflocalfloats \savebox{localfloats}{\noflocalfloats}{\box\floatbox}} \setuppapersize[A5][A4,landscape] \starttext \showframe \startfloatcombination [2*2] \placefigure{alpha}{\externalfigure[cow.pdf][width=3D1cm]} = \placefigure{beta} {\externalfigure[cow.pdf][width=3D2cm]} = \placefigure{gamma}{\externalfigure[cow.pdf][width=3D3cm]} = \placefigure{delta}{\externalfigure[cow.pdf][width=3D4cm]} = \stopfloatcombination \stoptext 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 ___________________________________________________________________________= ________