diff --git a/src/lib.typ b/src/lib.typ index 54ee939..b38e90c 100644 --- a/src/lib.typ +++ b/src/lib.typ @@ -64,8 +64,8 @@ print-glossary(config.thesis.glossary) pagebreak(weak: true) - counter(page).update(1) } + #counter(page).update(1) // mark end of prelude #metadata("prelude terminate") diff --git a/src/style.typ b/src/style.typ index f4dd7b5..9923830 100644 --- a/src/style.typ +++ b/src/style.typ @@ -89,7 +89,7 @@ } else if query().first().location().page() > current-page { numbering("I", nums.pos().first()) } else if query().first().location().page() >= current-page { - numbering("1 / 1", ..nums) + numbering("1 / 1", nums.pos().first(), counter(page).at().last()) } else { numbering("a", nums.pos().first()) }