From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107654 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: problem with counters (page) Date: Tue, 9 Jun 2020 17:34:25 -0400 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4869454150148227554==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="109726"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 09 23:34:52 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jiltU-000SRA-C2 for gctc-ntg-context-518@m.gmane-mx.org; Tue, 09 Jun 2020 23:34:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 83F4F184A8A; Tue, 9 Jun 2020 23:34:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PfcDkvOA1ZZn; Tue, 9 Jun 2020 23:34:37 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B3A7C184A81; Tue, 9 Jun 2020 23:34:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2D11C184A7F for ; Tue, 9 Jun 2020 23:34:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ek7Ht_RX9oIv for ; Tue, 9 Jun 2020 23:34:36 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.44; helo=mail-ej1-f44.google.com; envelope-from=bowenalan03@gmail.com; receiver= Original-Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id A12C9184A09 for ; Tue, 9 Jun 2020 23:34:36 +0200 (CEST) Original-Received: by mail-ej1-f44.google.com with SMTP id p20so182901ejd.13 for ; Tue, 09 Jun 2020 14:34:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=XbdHhj1WNC608sgzTqPKJ9wcSnddTO58dL2Aij8cPPw=; b=IhXtB2oNCGOEi4th0bwjfDE1aimNLSiyHOwGaYEvX4J8MSnhOzHv0k8rzhZCfOYNuI xS+kvHO7D1vgeD4xdDU0hd0Rr8tOMELVdl2S7XkDCIjNRsLWd7N3tT80wZuVUC8lGHTM O7F1+QcDEuGaHkQGa3tm7IBMLKDtv9+t67GM0KO6/APANbh/GfVQFJo8xu598DWHIyED iBDXVrJbcNWsITqV88GWT/YRZFX5tnZHEjsJGlvg1bBUcTSm8a5sXETc0dGHTS5l1J9L uZ9L3J+sMCbOrK3D+YoUsACZUbORHgWjzLXqe7x0tecsUOkWggMDKwRvWZxazEmmyt/k oFdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XbdHhj1WNC608sgzTqPKJ9wcSnddTO58dL2Aij8cPPw=; b=Rp8LyCfHfptiEsuH250aJJLSC87qauD/gJ68fGak/5uaETEJr0oVZ/+R/0HJlQXhjc GNSaJqCBEl17wzQa0iLk0dY/k3exMSypUg/jLL1T6HD15/CVJTxPazvm44xhBr9/hcE+ KuXQcR/WBzwffy95FNgb4WT0vEBqTe2EKpeIRKobDE7L/igVLLnM+xi2+eKH49PPicL9 4aKjbYYDb8Ui+nn6YawTZvsYHZ+outSYtA0imTC2aodpFCoG7CzcVmXzPSNyoeqB6K5e eiIQ84WCfjnIBwVkpPdkPxqfvW2gQv2M2PlkB9e+usHxlR5rZvA0RAromsAM6FpuL1Wd ynaQ== X-Gm-Message-State: AOAM533TrUBSCXX/Cfe8XnVQrDsFN6h8OfqPOdVOERIpc5lz25F//bCr hjnL9FIo4M3qnlaZ6nDOKcW9Q/wgbZ7w+JjjghJeml5hPZY= X-Google-Smtp-Source: ABdhPJzpjiR7i30fOO7rRPdT3lvODH76bvrkTkhXyqnoJshzvVAUvJiW0VYWnbByQPC12c4GRQDjv3k4OCiyDofaHDQ= X-Received: by 2002:a17:906:3e15:: with SMTP id k21mr355660eji.525.1591738476041; Tue, 09 Jun 2020 14:34:36 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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" Xref: news.gmane.io gmane.comp.tex.context:107654 Archived-At: --===============4869454150148227554== Content-Type: multipart/alternative; boundary="00000000000070985605a7ad7e35" --00000000000070985605a7ad7e35 Content-Type: text/plain; charset="UTF-8" My efforts to set up a new page counter in the footertexts of a book are not proving successful. The following code shows the nature of the problem. \definecounter[volpage][type=page, way=bypage] \starttext \setcounter[volpage][5] \dorecurse{3}{\startTEXpage[offset=2pc] \input ward \blank[medium] \centerline{\red\tfa\rawcounter[volpage]\incrementcounter[volpage]} \stopTEXpage} \stoptext As you will see, the counter is not incremented on pages 2 and 3. I expect that I have missed something important. But what? Alan --00000000000070985605a7ad7e35 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
My efforts t= o set up a new page counter in the footertexts=C2=A0of a book are not provi= ng successful. The following code shows the nature of the problem.

\def= inecounter[volpage][type=3Dpage, way=3Dbypage]
\starttext
\setc= ounter[volpage][5]
\dorecurse{3}{\startTEXpage[offset=3D2pc]
\inpu= t ward
\blank[medium]
\centerline{\red\tfa\rawcounter[volpage]\incr= ementcounter[volpage]}
\stopTEXpage}
\stoptext
<= br>
As you will see, the counter is not incremented on pages 2 and 3.
<= div style=3D"font-family:"trebuchet ms",sans-serif">
I expect=C2=A0t= hat I have missed something important. But what?

Alan
--00000000000070985605a7ad7e35-- --===============4869454150148227554== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============4869454150148227554==--