From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109372 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sylvain Hubert Newsgroups: gmane.comp.tex.context Subject: Re: "page i/n" in footer Date: Sun, 8 Nov 2020 11:48:06 +0100 Message-ID: References: <6be9508b-4693-ee0c-1f0b-518faf8a56d0@gmx.es> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7988677007952292680==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21520"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 08 11:52:33 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 1kbiJF-0005VP-Qv for gctc-ntg-context-518@m.gmane-mx.org; Sun, 08 Nov 2020 11:52:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2F78B1AA342; Sun, 8 Nov 2020 11:48:22 +0100 (CET) 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 uvlu5z7dYLCb; Sun, 8 Nov 2020 11:48:21 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5EB611AA34E; Sun, 8 Nov 2020 11:48:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 666E01AA33B for ; Sun, 8 Nov 2020 11:48:20 +0100 (CET) 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 u9E6YsL00rVO for ; Sun, 8 Nov 2020 11:48:19 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.178; helo=mail-il1-f178.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-il1-f178.google.com (mail-il1-f178.google.com [209.85.166.178]) (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 1106B1AA334 for ; Sun, 8 Nov 2020 11:48:19 +0100 (CET) Original-Received: by mail-il1-f178.google.com with SMTP id k1so5660087ilc.10 for ; Sun, 08 Nov 2020 02:48:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=P8Uxg9iECKUrnka7DpcVOrdEO9vA8V3/fQKwHTAis5Q=; b=CxBQB+dSX+bnBJY7VNApgdwhUKpf9+vZYtMJeC/dXgDlLb6DmCoROjVdCxDiVRCjCd 0lh13BvSTJr5LUAvuIKzMhG9WmPWCTOmtVjQibKwiW38rQcWxQsmrIpcTheuSVC9fa1m lslh9t0pMMmascG4mLbFjvldXIW9ty6lTI03tamLRZPauFtD1yT9e4vTi1DTtQZ+LNne XAyAx1DS6kZRPmag+/U6pvQeb8AQa7pCvVn3q5dMvkQgI+/joAepAeMyAy2uwwRUnwyB s0vjm6SD7f/hDG9G+cs2bew+5B6SqKQitwwshxJlKqfV1BATncI3QrlEmI3dEIgb/k3E KL8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=P8Uxg9iECKUrnka7DpcVOrdEO9vA8V3/fQKwHTAis5Q=; b=fzUVlWdVvlmtp5FQha/YZ0Q3UvChyFbYteqH1bX3yLlZ+VPwhzpd8IDxypm7zZYn6D lHD56MX/Gs05Fkhs9JMYQzfVUW8lRsNDzXeRM90ZPveQ3hc7ro2owqWFyLPXN9mFcD5V Dz080ZCzTaF60onOZVWz8lPFznmJh4qhWi4N+VcKfUyuQaN5uOUJVVdbl17FE/fCHtJy vOJc184+FRR+H+zAxoIgxwTX4OT9qrrQC1wIquVSEJQVCeIxONtT7+d4CWKGetFENV90 ub2b7lFohS8GwH4EfNXf2nK3nDyWkr8VAifYEiVekiKyaXtUG6QuTleDpR+7mss+OwY9 fh7Q== X-Gm-Message-State: AOAM530oJo2XCQiaap3cwIkzxHenleRoc+KOaZAv8mmwQwGxEh3vn94h JY+TUvn3naMeykTEyW3ZQCceBlzdem9PhmIyjWgTbCua+7SYGA== X-Google-Smtp-Source: ABdhPJwqScijSp2VbYoyIHqU2g6vq612gpy/JdZ6PIjV+PHUUsELTsoomPTNNiCOleKheHUTC7CSVYT302HDiVAVy/g= X-Received: by 2002:a92:96c3:: with SMTP id g186mr6602498ilh.10.1604832497953; Sun, 08 Nov 2020 02:48:17 -0800 (PST) In-Reply-To: <6be9508b-4693-ee0c-1f0b-518faf8a56d0@gmx.es> 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:109372 Archived-At: --===============7988677007952292680== Content-Type: multipart/alternative; boundary="000000000000f6f0cd05b3962e72" --000000000000f6f0cd05b3962e72 Content-Type: text/plain; charset="UTF-8" On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez wrote: > Hi Sylvain, > > \setupfootertexts[\pagenumber/\lastpagenumber] > \starttext > \dorecurse{25}{\null\page} > \stoptext > Indeed, \setupfooterexts is much clearer for page numbering. Thanks for the help!. Btw, do you know whether there is any difference between \lastpagenumber and \lastuserpagenumber mentioned both by Wolfgang and by the excursion book ? > > I never used you approach with \setuppagenubering (all being said). > > This might help, > --000000000000f6f0cd05b3962e72 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez <oinos@gmx.es> wrote:
Hi Sylvain,

=C2=A0 \setupfootertexts[\pagenumber/\lastpagenumber]
=C2=A0 \starttext
=C2=A0 \dorecurse{25}{\null\page}
=C2=A0 \stoptext

Indeed, \setupfooterex= ts is much clearer for page numbering. Thanks for the help!.

=
Btw, do you know whether there is any difference between \lastpa= genumber and \lastuserpagenumber mentioned both by Wolfgang and by the excursion bo= ok?
=C2=A0

I never used you approach with \setuppagenubering (all being said).

This might help,

=C2=A0
--000000000000f6f0cd05b3962e72-- --===============7988677007952292680== 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== --===============7988677007952292680==--