From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78017 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Numbering of figures and tables changed? Date: Sun, 26 Aug 2012 13:55:42 +0200 Message-ID: <7982ABC1-2EEE-46BC-BD63-263C3BD9DCA9@gmail.com> References: <745A78E9-E1D1-4C3F-A971-F397E4B4BDF0@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1345982156 18143 80.91.229.3 (26 Aug 2012 11:55:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Aug 2012 11:55:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 26 13:55:57 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 1T5bRd-0007t0-KP for gctc-ntg-context-518@m.gmane.org; Sun, 26 Aug 2012 13:55:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7B9E0101F0; Sun, 26 Aug 2012 13:55:55 +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 fk-DqTs5r1uY; Sun, 26 Aug 2012 13:55:53 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E9057101DF; Sun, 26 Aug 2012 13:55:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 71360101DF for ; Sun, 26 Aug 2012 13:55:51 +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 hLKBuqi1kef9 for ; Sun, 26 Aug 2012 13:55:50 +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 B84EE101DD for ; Sun, 26 Aug 2012 13:55:50 +0200 (CEST) Original-Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q7QBtnDl007752 for ; Sun, 26 Aug 2012 13:55:50 +0200 Original-Received: by wibhm6 with SMTP id hm6so1954488wib.2 for ; Sun, 26 Aug 2012 04:55:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=PZHArxh5AdaII9NYD7T5XGDu/xqH8qiq5iEW0mVyhk0=; b=JDbrJj7ZOM2A4YxOm+ZGkbBDSFqKqIhS6oXe1ESuKuN21v+6/IqPK36MqK+3+quAh4 QMXq0hCCBzyEo/zO2FyCHS3qgiRp6uPLaZPppcxYHYayFMPBjVrAY5kKn4YauJJF9ic4 QPqvggX06Fw3cMV8+0FaR/rKLO9K3ZFc4TMLSJ07K7vZobLKFRuUKmaqqNsc27Jgdf/Z Wm/QFAmPwCvmjyqyy5ELSB1tlr4tjHXrXj8HgIWB5viSXdAuMb3xRS3ES/QW4zGQycKc 70APy2TDWRHATFrSyDExnP/m3vnOM5KThvmmQjFSDxcfTCj8un3XkQPo+E0A/tlP8Faj ubzQ== Original-Received: by 10.180.102.136 with SMTP id fo8mr18037872wib.19.1345982149583; Sun, 26 Aug 2012 04:55:49 -0700 (PDT) Original-Received: from [10.58.23.135] ([82.113.99.135]) by mx.google.com with ESMTPS id fb20sm13407970wid.1.2012.08.26.04.55.47 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 26 Aug 2012 04:55:48 -0700 (PDT) In-Reply-To: <745A78E9-E1D1-4C3F-A971-F397E4B4BDF0@gmail.com> X-Mailer: Apple Mail (2.1486) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.173; 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: 0THPnTNt5 - 8239c1485875 - 20120826 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:78017 Archived-At: Am 26.08.2012 um 13:31 schrieb Robert Blackstone : > = > On 26 Aug 2012, at 11:29, Wolfgang Schuster wrote >> = >> Am 26.08.2012 um 10:33 schrieb Robert Blackstone : >> = >>> What can I do to give me back the numbering of the floats per chapter? = Or, if it is a bug in the recent Minimals, can the numbering per chapter be= restored somehow? = >> = >> Setting the way how you want to be numbered resets only the figure count= er, to show the chapter number you have to enable prefixes. >> = >> \setupcaption[figure][way=3Dbychapter,prefix=3Dyes] >> = >> \starttext >> = >> \completelistoffigures >> = >> \dorecurse{2} >> {\chapter{Chapter #1} >> \dorecurse{5} >> {\dorecurse{4}{\input knuth\par} >> \placefigure{Caption}{\externalfigure[dummy]} >> \dorecurse{4}{\input knuth\par}}} >> = >> \stoptext >> = >> Wolfgang > = > Thank you, Wolfgang. = > Your advice solves one problem but adds another: now the section numbers = are included as well. How do I get rid of these? > = > See example: = > = > \setupcaption[figure][way=3Dbychapter,prefix=3Dyes] > = > \starttext > = > \completelistoffigures > = > \dorecurse{2} > {\chapter{Chapter #1} > \input knuth\par > \dorecurse{2} > {\section{Section #1} > \input knuth\par > \placefigure{Caption}{\externalfigure[dummy]} > \input knuth\par}} = > \stoptext Add =93prefixsegments=3Dchapter=94 to the \setuphead settings. 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 ___________________________________________________________________________= ________