From 92f2c7b470ccdd36f57ab9b3a2ff9e3a8d4ddd6b Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 27 Aug 2024 10:43:12 +0200 Subject: Refactor depth checks and apply them in math (#4845) --- tests/suite/scripting/recursion.typ | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/suite') diff --git a/tests/suite/scripting/recursion.typ b/tests/suite/scripting/recursion.typ index 43fe848e..6be96c1e 100644 --- a/tests/suite/scripting/recursion.typ +++ b/tests/suite/scripting/recursion.typ @@ -53,3 +53,9 @@ // Hint: 22-25 check whether the show rule matches its own output #show math.equation: $x$ $ x $ + +--- recursion-show-math-realize --- +// Error: 22-33 maximum show rule depth exceeded +// Hint: 22-33 check whether the show rule matches its own output +#show heading: it => heading[it] +$ #heading[hi] $ -- cgit v1.2.3