From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81674 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: float combinations Date: Sun, 14 Apr 2013 10:55:41 +0200 Message-ID: <516A6F0D.3040706@wxs.nl> References: <99FD7143-41D2-47F2-A95D-94752D8A513A@gmail.com> <20130413131358.38d92b7e@iram-hb-003386.extra.cea.fr> <5169E481.1040508@wxs.nl> <20130414083037.022803e0@iram-hb-003386.extra.cea.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365929757 7915 80.91.229.3 (14 Apr 2013 08:55:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Apr 2013 08:55:57 +0000 (UTC) Cc: mailing list for ConTeXt users , blackstone.robert@gmail.com To: Alan BRASLAU Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 14 10:55:56 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1URIj6-0001aP-Ix for gctc-ntg-context-518@m.gmane.org; Sun, 14 Apr 2013 10:55:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 015B610246; Sun, 14 Apr 2013 10:55:36 +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 XaGQ-2aQBH96; Sun, 14 Apr 2013 10:55:34 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3774B10252; Sun, 14 Apr 2013 10:55:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D9AE410252 for ; Sun, 14 Apr 2013 10:55:32 +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 ofPzCSfmSyUF for ; Sun, 14 Apr 2013 10:55:32 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 18D4710246 for ; Sun, 14 Apr 2013 10:55:32 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3E8tVET032108 for ; Sun, 14 Apr 2013 10:55:31 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 6.1c) with ESMTP (TLS) id 15952-1713362 for multiple; Sun, 14 Apr 2013 10:55:28 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: <20130414083037.022803e0@iram-hb-003386.extra.cea.fr> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QJnITvzi - 63c4c78f28f0 - 20130414 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81674 Archived-At: On 4/14/2013 8:30 AM, Alan BRASLAU wrote: > Hans, you forgot to define a \testitem... > > \starttext > > \definelabel[test][text=,numberconversion=character,stopper=!] > > \define[1]\testitem{{#1} {\test}} > > \resetcounter[test] > > \startcombination[2*2] > \testitem{first} > \testitem{second} > \testitem{third} > \testitem{fourth} > \stopcombination > > \stoptext > > Now, adding > \setupcombinations [before={\resetcounter[test]}] > would be incorrect as the counter would get reset for each row... sure, but then it's nice to have it as option of the combination command anyway, there's also (we've always needed such things in projects): \starttext \startplacefigure[location={here,none}] \startfloatcombination[2*2] \placefigure{alpha}{\externalfigure[cow.pdf][width=1cm]} \placefigure{beta} {\externalfigure[cow.pdf][width=2cm]} \placefigure{gamma}{\externalfigure[cow.pdf][width=3cm]} \placefigure{delta}{\externalfigure[cow.pdf][width=4cm]} \stopfloatcombination \stopplacefigure \stoptext as that started out as experiment and was used in specific styles it was never documented (example from source) (mayb i'll add \startplacefigurecombination some day) Hans -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________