From 9bf231157c4ac90cc59d02280a72c7e185f68adb Mon Sep 17 00:00:00 2001 From: szdytom Date: Sun, 6 Jul 2025 23:42:06 +0800 Subject: [PATCH] pagebreak for sections Signed-off-by: szdytom --- main.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.typ b/main.typ index dc133e5..279d697 100644 --- a/main.typ +++ b/main.typ @@ -13,10 +13,10 @@ #{ for i in range(0, toc.len()) { - pagebreak(weak: true) let chapter = toc.at(i) heading(chapter.title, level: 1) for j in range(0, chapter.sections) { + pagebreak(weak: true) include "sections/" + numbering("1A", i + 1, j + 1) + ".typ" } }