num-points-pagefunction
#num-points-page(page: auto, intent: none)The number of points on a page (of the questions/parts/subparts that start on it): by default its regular points, on the current page. Must be used inside of a context block, e.g. in a page footer, #set page(footer: context [#num-points-page() points]).
Arguments
pagedefaultauto| intThe physical page number (counted from 1). Setting to
auto uses the current page.intentdefaultnone| "practice" | "bonus"Which points to count, by their
intent (see #question[..]): none for regular points, "bonus" for bonus points, or "practice" for practice points.