From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78097 Path: news.gmane.org!not-for-mail From: Robert Blackstone Newsgroups: gmane.comp.tex.context Subject: Re: Include chapter number in figure numbering Date: Tue, 4 Sep 2012 14:11:48 +0200 Message-ID: <659AD6CE-942A-45C7-A7C2-1809D535DCC3@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1346760721 30393 80.91.229.3 (4 Sep 2012 12:12:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Sep 2012 12:12:01 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 04 14:12:03 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 1T8rz8-0003eU-Jq for gctc-ntg-context-518@m.gmane.org; Tue, 04 Sep 2012 14:12:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9FE3910200; Tue, 4 Sep 2012 14:11:59 +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 kkM+4nsU24XO; Tue, 4 Sep 2012 14:11:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 458F1101F2; Tue, 4 Sep 2012 14:11:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2782B101F2 for ; Tue, 4 Sep 2012 14:11:52 +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 tEjx1Sfa57gw for ; Tue, 4 Sep 2012 14:11:51 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 7A2F6101EB for ; Tue, 4 Sep 2012 14:11:51 +0200 (CEST) Original-Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q84CBonR030413 for ; Tue, 4 Sep 2012 14:11:50 +0200 Original-Received: by wibhm6 with SMTP id hm6so3869671wib.2 for ; Tue, 04 Sep 2012 05:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=zqTcqsMimSX2uWQb4JTf7mLEn8YuqJQwAoP1vDmZBnA=; b=AcvzwmNZ/jq2gm3DSNz2h+oUuvw4R0BFxAwn4a2E3G/n97aawzX8ln2NlSEZiop9aZ sBR4MAkg7D9IhgQih8zhUYs+LttZ8WD5uOLEGHSubK8XNvAF1OlxMkTARzXBqDKaMMZC mymg3RJo7xurumfRIZIvsRX4454wMC3PYpWLtWqOBQXWuc3BeC7hlqKSJESXHpExqakg V3RuYb738bgykDx68h3hStEQOHZPvr+JdPsyFHY49GZb1XU0+mJHRDOkXc5ST7WNJs27 mun4HHYiaKUWO8vB1y6cRf2jIdPPuFToJ6zsVcbkf8+Mab0C2p+fM1WKPLhLj8tnO2Op vPWA== Original-Received: by 10.216.255.18 with SMTP id i18mr11640257wes.45.1346760710441; Tue, 04 Sep 2012 05:11:50 -0700 (PDT) Original-Received: from [192.168.2.4] (ip51cc7044.adsl-surfen.hetnet.nl. [81.204.112.68]) by mx.google.com with ESMTPS id b7sm35864469wiz.9.2012.09.04.05.11.48 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Sep 2012 05:11:49 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1278) 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: 0NHT0bO0G - b47403d78d76 - 20120904 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:78097 Archived-At: On 4 Sep 2012, at 10:46 , 08:55:10 +0200 Marco Patzer wrot > > Hi Sietse, > >>> how do I include the chapter number in the figure numbering? >> >> Untested: >> \setupcaptions[prefixsegment=chapter] > > This works with beta 2011-11-29, but unfortunately not in a current > one. Does it work for you? Hi, This works (for me) in mkiv of 25-08-2012: \setupcaption[figure][number=yes,way=bychapter,prefix=yes,prefixsegments=chapter] Best regards, Robert Blackstone ___________________________________________________________________________________ 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 ___________________________________________________________________________________