From 68c2e4ae496fc76a4825bd76e086d3abe852e3bc Mon Sep 17 00:00:00 2001 From: servostar Date: Thu, 4 Apr 2024 12:12:19 +0200 Subject: [PATCH] fixed missing page header when changing page counter --- src/content/outline.typ | 3 +++ src/main.typ | 3 --- src/pages/introduction.typ | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/content/outline.typ b/src/content/outline.typ index 0890efc..acdea85 100644 --- a/src/content/outline.typ +++ b/src/content/outline.typ @@ -114,3 +114,6 @@ } #print-glossary(glossary_entries) + +// reset page counter +#counter(page).update(0) \ No newline at end of file diff --git a/src/main.typ b/src/main.typ index 6e79dcd..1e3ed5b 100644 --- a/src/main.typ +++ b/src/main.typ @@ -104,9 +104,6 @@ #include "content/preface.typ" #include "content/outline.typ" -// reset page counter -#counter(page).update(1) - #set heading(numbering: "1.") // start numbering pages with numeric digits diff --git a/src/pages/introduction.typ b/src/pages/introduction.typ index 324483d..793dbe4 100644 --- a/src/pages/introduction.typ +++ b/src/pages/introduction.typ @@ -2,3 +2,7 @@ #import "../prelude.typ" as prelude = Einleitung + +#pagebreak() + += Test \ No newline at end of file