From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109352 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sylvain Hubert Newsgroups: gmane.comp.tex.context Subject: "page i/n" in footer Date: Sun, 8 Nov 2020 02:58:45 +0100 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4865747380694968040==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3787"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 08 02:59:19 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 1kbZzC-0000tq-P8 for gctc-ntg-context-518@m.gmane-mx.org; Sun, 08 Nov 2020 02:59:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 16EA81A9FD1; Sun, 8 Nov 2020 02:59:00 +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 jVDQRFaQNC1J; Sun, 8 Nov 2020 02:58:59 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3D2DF1AA2F3; Sun, 8 Nov 2020 02:58:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7B8751A9FCD for ; Sun, 8 Nov 2020 02:58:58 +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 ggADTqL6d9ZT for ; Sun, 8 Nov 2020 02:58:58 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.181; helo=mail-il1-f181.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) (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 CA6681A9FB4 for ; Sun, 8 Nov 2020 02:58:57 +0100 (CET) Original-Received: by mail-il1-f181.google.com with SMTP id g7so5064598ilr.12 for ; Sat, 07 Nov 2020 17:58:57 -0800 (PST) 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=CUK6H/ft6KOdVLHEskG3uf531NeSSok1utJl0oACT18=; b=coUnsIvuUjY5BXTGYG6tIHNASU+cccVbnr5OtE1h2RGD2lksxJOKM+uOuBaopIJJDi w4CBThsdIaJx7DssizUlfdfYMfXmw208J7Lw4jD+pQGtpYuo5evQmHC7Jhs3oKm9tgEJ QuswqwhAaN1QS6s/71oEGaSqlGoR8rmtA6TUixU2HQpNqDB+DCANMeNl8yFOu34b4VDc 2/6+G5Um68NKqTpnrWOoOoQMo9zM4ysrRZ+cxK720wbmqti4sAjg31y5yD15tYAOSwuQ FfUZ7ATPBJ/oX65QLO3BimHjT8DT2RbHmokJgjOcoVwDT7862lR5jQcjzbtlO4zncMaY ZJ8Q== 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=CUK6H/ft6KOdVLHEskG3uf531NeSSok1utJl0oACT18=; b=BaPxuL0zghkj4WDy8vnSzHbZWV8g3rIIvPekCbboB5d4Uzq5V+2dhSr/2IC5uHAzeY E0cu+xvlbDdM1EgkvYVe/hwDs8U0PJsf2BSXfCeJ+Ftbhc5bHv8jRneOnXsdiqHYLE4D hPtNL1lOiIxgGDHyeBk97MX3MXKI4MEpK4gOy8cJIn6gCLElY9jQ7u+uq1/CCK3I4zFm zPBRQztF4eiLf61n24qSsWHlyRfF+lk2Jee1WVFX0y4VyTWqiiNec2X9aKrdi2oEEZi7 SJ+WnYH1PYzUDsrm1ylo7rwof/R0nTo6ItgfcZmSoxSuRUyO7phhz0QhHmKarMZ2JlRt qHjg== X-Gm-Message-State: AOAM53133CMZ6JYtVcHaUc5EPPU/MM2zLj7qBcqU+nZkFB4JSGg+EZDv NIJs1kpP3GRxQchvOpA+gFxhxzYWV8SewXQwQYLyNKxVfNyk/A== X-Google-Smtp-Source: ABdhPJztmH/RTQclNySfcJJS/CyLOcYkyQj3J5ISP740s3EvEoC3ygkgP1ltUUiopSlaiUno7Z5nQF19bIQquLbYoB0= X-Received: by 2002:a05:6e02:df1:: with SMTP id m17mr6028109ilj.70.1604800736445; Sat, 07 Nov 2020 17:58:56 -0800 (PST) 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:109352 Archived-At: --===============4865747380694968040== Content-Type: multipart/alternative; boundary="000000000000d4c8e605b38ec97e" --000000000000d4c8e605b38ec97e Content-Type: text/plain; charset="UTF-8" Dear List, Does anyone know how to set the footer to be "page i/n" where i=current page number, n=total number of page? I've tried \setuppagenumbering[location=footer, command=\groupedcommand{page }{/\lastcounter[userpage]}] but \lastcounter[userpage] results in empty string. Thanks in advance. Best, Sylvain --000000000000d4c8e605b38ec97e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear List,

Does anyone know = how to set the footer to be "page i/n" where i=3Dcurrent page num= ber, n=3Dtotal number of page? I've tried

=C2= =A0=C2=A0=C2=A0 \setuppagenumbering[location=3Dfooter, command=3D\groupedco= mmand{page }{/\lastcounter[userpage]}]

but \lastco= unter[userpage] results in empty string.

Thanks in= advance.

Best,
Sylvain
--000000000000d4c8e605b38ec97e-- --===============4865747380694968040== 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== --===============4865747380694968040==--