From 30dba1ed7bb3d413ca9e92a89d1635f6f7fdce42 Mon Sep 17 00:00:00 2001 From: OrangeX4 <318483724@qq.com> Date: Tue, 9 Apr 2024 17:18:40 +0800 Subject: [PATCH] fix: fix regression of default value "auto" for repeat --- slide.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slide.typ b/slide.typ index 7edd72144..9b2e305c1 100644 --- a/slide.typ +++ b/slide.typ @@ -422,6 +422,7 @@ states._sections-step(repetitions) } } + self.subslide = 1 // for single page slide, get the repetitions if repeat == auto { let (_, repetitions) = _parse-content( @@ -433,7 +434,6 @@ repeat = repetitions } self.repeat = repeat - self.subslide = 1 let (header, footer) = _get-header-footer(self) // page header and footer // for speed up, do not parse the content if repeat is none