From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72786 Path: news.gmane.org!not-for-mail From: "Mikael P. Sundqvist" Newsgroups: gmane.comp.tex.context Subject: Sequentially number figures (even over chapters) Date: Mon, 28 Nov 2011 07:58:22 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322463520 15430 80.91.229.12 (28 Nov 2011 06:58:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2011 06:58:40 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 28 07:58:34 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RUvAf-0000At-NL for gctc-ntg-context-518@m.gmane.org; Mon, 28 Nov 2011 07:58:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE906CB0F4; Mon, 28 Nov 2011 07:58: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 oeE-7+nreOW1; Mon, 28 Nov 2011 07:58:27 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7FB3DCB0E8; Mon, 28 Nov 2011 07:58:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DCF64CB0E8 for ; Mon, 28 Nov 2011 07:58:25 +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 BlCLCHuMzqbO for ; Mon, 28 Nov 2011 07:58:23 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id CB8A4CB04D for ; Mon, 28 Nov 2011 07:58:23 +0100 (CET) Original-Received: from mail-qw0-f41.google.com (mail-qw0-f41.google.com [209.85.216.41]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAS6wM6k004247 for ; Mon, 28 Nov 2011 07:58:23 +0100 Original-Received: by qap15 with SMTP id 15so1165878qap.14 for ; Sun, 27 Nov 2011 22:58:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=GomqOaVfrfEizNeTN/lLIL0GN8vB0OXDbxjeo0+k4ps=; b=s/Nvb/Qb9CsSKBA5dI4luoBMx+bhcv6gESkkNT24DFgrnlEYO6qyKxRMJ5QliUtZAu Kc9lO4bv8wdfslevtFYTnN5gs+swOknPM29J56Ff+zaoO0Fo3WNSlBbJVjM8v/Ptu1Vg mTMRHoYsdi7Y7N3G/J1h80gmnCaf3uvia016U= Original-Received: by 10.224.34.16 with SMTP id j16mr1849510qad.6.1322463502098; Sun, 27 Nov 2011 22:58:22 -0800 (PST) Original-Received: by 10.229.232.65 with HTTP; Sun, 27 Nov 2011 22:58:22 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.41; 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: 03G2uWmv9 - 8037078e1e05 - 20111128 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:72786 Archived-At: Dear list, I want to number my figures sequentially, even over chapters. With the code below (late(st) minimals and mkiv) %%% Begin example \setuphead[chapter][ page=no, ] \setupcaptions[ way=bytext, prefixsegments=none, ] \starttext \chapter{This is a short chapter} It contains one figure. \placefigure[here][none]{A caption.}{\externalfigure[cow][width=4cm]} \chapter{This is another short chapter} It contains the same figure. \placefigure[here][none]{A caption.}{\externalfigure[cow][width=4cm]} \stoptext %%% End example both figures are called "Figure 1". I would expect the second one to be called Figure 2. Any ideas? Best regards, Mikael ___________________________________________________________________________________ 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 ___________________________________________________________________________________