From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78094 Path: news.gmane.org!not-for-mail From: "Rogers, Michael K" Newsgroups: gmane.comp.tex.context Subject: Re: Include chapter number in figure numbering Date: Tue, 4 Sep 2012 11:23:26 +0000 Message-ID: <10ED5E66-C7B2-43B8-BA39-1B664FC359B6@emory.edu> References: <20120903221451.47f55f88@homerow> <20120904085510.195397b0@homerow> 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 1346757825 5700 80.91.229.3 (4 Sep 2012 11:23:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Sep 2012 11:23:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 04 13:23:47 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 1T8rEQ-00047c-UB for gctc-ntg-context-518@m.gmane.org; Tue, 04 Sep 2012 13:23:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 986EB1022F; Tue, 4 Sep 2012 13:23:43 +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 RUPfkNdP6l7y; Tue, 4 Sep 2012 13:23:41 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 207F9101F9; Tue, 4 Sep 2012 13:23:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 33415101F9 for ; Tue, 4 Sep 2012 13:23:40 +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 mzbg4GyWhvri for ; Tue, 4 Sep 2012 13:23:38 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 5D351101F2 for ; Tue, 4 Sep 2012 13:23:38 +0200 (CEST) Original-Received: from ndb-mr3.cc.emory.edu (ndb-mr3.cc.emory.edu [170.140.53.253]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q84BMMcg030680 for ; Tue, 4 Sep 2012 13:22:23 +0200 Original-Received: from e14edge2n.Emory.Edu (emoryfloatdmz.cc.emory.edu [170.140.52.254]) by ndb-mr3.cc.emory.edu (8.13.8/8.13.8) with ESMTP id q84BNQtu024388 for ; Tue, 4 Sep 2012 07:23:27 -0400 Original-Received: from E14CH2N.Enterprise.emory.net (10.240.8.114) by e14edge2n.Emory.Edu (170.140.53.162) with Microsoft SMTP Server (TLS) id 14.2.283.3; Tue, 4 Sep 2012 07:23:26 -0400 Original-Received: from E14MBX23N.Enterprise.emory.net ([fe80::b473:ef05:b37f:5ccd]) by e14ch2n.Enterprise.emory.net ([::1]) with mapi id 14.02.0318.001; Tue, 4 Sep 2012 07:23:26 -0400 Thread-Topic: [NTG-context] Include chapter number in figure numbering Thread-Index: AQHNihS5HFUuSrbXFE2dzYnqodt8CZd5fvWAgACEYgCAABJNAIAAOKaA In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [170.140.30.131] Content-ID: <6D7AF02ABE2BE4478C0B9CFF8A90C228@Enterprise.emory.net> X-Emory-MailScanner-Information: Please contact the ISP for more information X-Emory-MailScanner-ID: q84BNQtu024388 X-Emory-MailScanner: Found to be clean X-Emory-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.207, required 8, autolearn=disabled, RP_MATCHES_RCVD -0.21) X-Emory-MailScanner-From: mroge02@emory.edu X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=170.140.53.253; country=US; region=GA; city=Atlanta; postalcode=30322; latitude=33.7952; longitude=-84.3248; metrocode=524; areacode=404; http://maps.google.com/maps?q=33.7952,-84.3248&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WHSXmm6j - bfdeff37cf43 - 20120904 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:78094 Archived-At: On Sep 4, 2012, at 4:00 AM, Sietse Brouwer wrote: >>>> 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? > > You're right: it doesn't work for me, either. A bug, then, or possibly > an unannounced interface change. > --Sietse I think the key name is plural, and you need to turn on prefixes. Try \setupcaptions[prefix=yes,prefixsegments=chapter] \starttext \chapter{One} \section{Cow} \placefigure{Caption}{\externalfigure[cow][width=2cm]} Text. \section{Cow revisited} \placefigure{Caption}{\externalfigure[cow][width=2cm]} Text. \chapter{Two} \placefigure{Caption}{\externalfigure[cow][width=2cm]} Text. \stoptext ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). ___________________________________________________________________________________ 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 ___________________________________________________________________________________