From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79749 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: Wrong float numbering with default=top Date: Tue, 4 Dec 2012 19:18:25 +0100 Message-ID: <20121204191825.1d482305@homerow> References: <20121204132100.789f95bd@homerow> <50BE1DCF.5070000@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1354645115 13807 80.91.229.3 (4 Dec 2012 18:18:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Dec 2012 18:18:35 +0000 (UTC) To: context Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 04 19:18:48 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 1Tfx4y-0007Aw-4B for gctc-ntg-context-518@m.gmane.org; Tue, 04 Dec 2012 19:18:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EDF3410226; Tue, 4 Dec 2012 19:18:35 +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 ERV5Ezq1Xw-4; Tue, 4 Dec 2012 19:18:33 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B09461022F; Tue, 4 Dec 2012 19:18:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B85BE1022F for ; Tue, 4 Dec 2012 19:18:32 +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 MUJpwrTdC4la for ; Tue, 4 Dec 2012 19:18:31 +0100 (CET) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id ABBB010226 for ; Tue, 4 Dec 2012 19:18:31 +0100 (CET) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qB4IITcg015199 for ; Tue, 4 Dec 2012 19:18:30 +0100 Original-Received: from b.earth.lavabit.com (b.earth.lavabit.com [192.168.111.11]) by karen.lavabit.com (Postfix) with ESMTP id DCA7611BBE0 for ; Tue, 4 Dec 2012 12:18:27 -0600 (CST) Original-Received: from homerow (miun114-26.dynamic.miun.se [193.10.114.26]) by lavabit.com with ESMTP id WS546SOXZQQC for ; Tue, 04 Dec 2012 12:18:27 -0600 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=B6rYZGJLlXZYYlB7OpZNOyrs0LCy5d1NNR9BHHId8dDElZ621z3GV990n88Zp3vLVKUPaEQLlRJoSoY7ifnQ/cLyrWBEtNa8EyYWgAoZxFWDkUOsYllJPcvXKXj3V0Ez5DL/mMl0flYRn8tcR4jTjcdFLyaf5JFPSbcYUUi1GmE=; h=Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; In-Reply-To: <50BE1DCF.5070000@wxs.nl> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75204; latitude=32.8019; longitude=-96.7883; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8019,-96.7883&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08IvuitiC - b45b93cf0ef2 - 20121204 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:79749 Archived-At: 2012-12-04 Hans Hagen: Hi Hans, > As an experiment I've added some trickery. But keep in mind that messing > with numbers is never 100% foolproof. So, for the moment you can say > > \ctxlua{structures.lists.autoreorder = true} > > till we're sure about what level of control is needed. Beta later today. Thank you for the quick fix. It works for the minimal example, but it fails in my document. Defining custom float types seems to break the auto reordering. \useMPlibrary [dum] \setupfloat [figure] [default=top] \definefloat [newfigure] [newfigures] [figure] \ctxlua{structures.lists.autoreorder = true} \starttext \input knuth \startplacefigure \externalfigure [dummy] \stopplacefigure \startplacenewfigure \externalfigure [dummy] [width=10cm, height=16cm] \stopplacenewfigure \startplacefigure \externalfigure [dummy] \stopplacefigure \stoptext Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________