From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30887 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: figurenumbering Date: Mon, 18 Sep 2006 13:42:28 +0200 Message-ID: <20060918134228.c5e1c0da.schuster.wolfgang@googlemail.com> References: <450D54CF.20465.1673846@wwl.musensturm.de> <450D573D.60205@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1158579790 7051 80.91.229.2 (18 Sep 2006 11:43:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Sep 2006 11:43:10 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 18 13:43:07 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GPHWY-00066m-QR for gctc-ntg-context-518@m.gmane.org; Mon, 18 Sep 2006 13:42:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 724C31FE82; Mon, 18 Sep 2006 13:42:53 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18853-05; Mon, 18 Sep 2006 13:42:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C83791FE6D; Mon, 18 Sep 2006 13:42:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8332D1FE6D for ; Mon, 18 Sep 2006 13:42:42 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18854-05 for ; Mon, 18 Sep 2006 13:42:36 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by ronja.ntg.nl (Postfix) with SMTP id C62911FE16 for ; Mon, 18 Sep 2006 13:42:35 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id d4so470481nfe for ; Mon, 18 Sep 2006 04:42:34 -0700 (PDT) Original-Received: by 10.49.10.3 with SMTP id n3mr16783791nfi; Mon, 18 Sep 2006 04:42:34 -0700 (PDT) Original-Received: from unknown ( [217.185.122.53]) by mx.gmail.com with ESMTP id y23sm7216814nfb.2006.09.18.04.42.31; Mon, 18 Sep 2006 04:42:33 -0700 (PDT) Original-To: ntg-context@ntg.nl In-Reply-To: <450D573D.60205@wxs.nl> X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.6.10; i686-pc-mingw32) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:30887 Archived-At: On Sun, 17 Sep 2006 16:10:05 +0200 Hans Hagen wrote: > Wolfgang Werners-Lucchini wrote: > >> You need the option > >> > >> \setupfloats[numbering=nocheck] > >> > >> in your document settings. > >> > >> > > > > Hallo Wolfgang! > > > > This works. > > How do you find your peaces of wisdom? > > Im not a TeXnician or a Texacker, more a TeX kiddie [1] and looked only the ConTeXt module where \placefloat is defined and searched for the command which is responsible for the numbermechanism. > > But I have not understand the whole figurenumber thing. > > Me too. > > It is obviously (my example shows this), that there must > > be a hidden number. > > > > What is its name? > > How can this number be influenzed? Search for \preparefloatnumber in page-flt.tex > > What is 'checked' or 'not checked' in the above option? Try my example with checked and nochekced. > > And why does this produce the effect I wanted? > > > it's rather comples > > - float numbers indeed use a number > > - but when places, this number is checked against the order in which the floats were flushed, for which their final position on the page is used > > - clone figures using the same number most be treated as well > > - when on everloads the low level number, this mechanisme is to be bypassed > > Hans > Hallo Wolfgang, you can see a bad sideeffects by figurenumber=nocheck in my example \setupfloats[numbering=nocheck] \starttext \placefigure{}{\framed{Blub}} \placefigure[page][]{}{\framed{Bautz}} \placefigure{}{\framed{Bla}} This were \rawnumber[figure] figures by now! \setnumber[figure]{8} We want to count on with \rawnumber[figure]. \placefigure{}{\framed{Plong}} figurenumber is incremented to \rawnumber[figure]. \stoptext The number of the figures are set as they appear in the text and this did not work well when one figure is set later as another one typed later in your code. [1] http://en.wikipedia.org/wiki/Script_kiddie Hope you can find a solution for your problem before I send you one when I have time too find one. Wolfgang