From 20ce48dc36978e0995a03d7f97975deff99834b3 Mon Sep 17 00:00:00 2001 From: Eric Biedert Date: Mon, 7 Oct 2024 10:13:09 +0200 Subject: Fix panic for empty breakable block equations (#5116) --- tests/suite/math/multiline.typ | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/suite/math/multiline.typ b/tests/suite/math/multiline.typ index 3c0ed2f4..34e66b99 100644 --- a/tests/suite/math/multiline.typ +++ b/tests/suite/math/multiline.typ @@ -147,11 +147,15 @@ $ a + b $ Shouldn't overflow: $ a + b $ +--- issue-5113-pagebreaking-empty --- +// Test empty breakable equations. +#show math.equation: set block(breakable: true) +#math.equation(block: true, []) + --- issue-1948-math-text-break --- // Test text with linebreaks in math. $ x := "a\nb\nc\nd\ne" $ - --- issue-4829-math-pagebreaking-wrong-number --- // Test numbering of empty regions of broken equations. #set page(height: 5em) -- cgit v1.2.3