On 17.11.2017 14:02, Procházka Lukáš Ing. wrote:
it seems that there is 'PageNumber' variable (macro) available within MP code, maybe introduced by 'StartPage', within MP.

How do I get total number of pages or last page number within MP (in Ctx: \totalnumberofpages, \lastpage)?

NOfPages

If you had grepped the source for PageNumber, you would have discovered that all of this is defined in meta-pag.mkiv.

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to