Files
Alumin_HydroandAlumin-Hydro 487f350852 fix(templates): replace hardcoded total-pages with dynamic page count in en/mcm and en/default (#125)
Both English Typst templates hardcoded the total page count as "4" in the
page header, producing impossible headers like "Page 5 of 4" for any paper
longer than 4 pages (i.e. every real submission).

- en/mcm: total-pages now evaluates counter(page).final() minus the two
  front-matter pages (summary sheet + title page), matching the existing
  physical-page offset used for the current page number
- en/default: total-pages now evaluates counter(page).final() directly

Verified: both templates compile cleanly with typst 0.14 and produce
consistent "Page N of N" headers on the final page.

Co-authored-by: Alumin-Hydro <alumin@users.noreply.github.com>
2026-09-13 15:37:16 +08:00
..
2026-06-05 20:47:53 +08:00
2026-06-05 20:18:25 +08:00
2026-06-05 20:47:53 +08:00