Sylvain Hubert schrieb am 08.11.2020 um 11:48:
On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez <oi...@gmx.es
<mailto:oi...@gmx.es>> 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 <http://www.pragma-ade.com/general/manuals/ma-cb-en.pdf>?
\defineconversionset [bodypart:pagenumber] [] [Romannumerals]
\startsetups [footer]
\starttabulate[|l|c|c|]
\NC \bf Command \NC \bf Current page \NC \bf Last page
\NC\NR
\NC \tex{pagenumber} \NC \pagenumber \NC \lastpagenumber
\NC\NR
\NC \tex{userpagenumber} \NC \userpagenumber \NC
\lastuserpagenumber \NC\NR
\stoptabulate
\stopsetups
\setupfootertexts[\directsetup{footer}]
\starttext
\dorecurse{10}{\dontleavehmode\page}
\stoptext
Wolfgang
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________