Repository navigation
Tags
Tags
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>
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>
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>
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>
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>
PreviousNext