From f8f95e5c21352937a0771cd158d0202b552d277e Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 26 Sep 2024 11:40:25 +0000 Subject: Extend hint for unknown variables in math (#5038) --- tests/suite/math/call.typ | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/suite/math/call.typ b/tests/suite/math/call.typ index 03747f58..bd66c400 100644 --- a/tests/suite/math/call.typ +++ b/tests/suite/math/call.typ @@ -81,6 +81,12 @@ $ bx(x y) &&quad bx(x (y z)) &quad bx(x y^z) \ $ +--- math-call-unknown-var-hint --- +// Error: 4-6 unknown variable: ab +// Hint: 4-6 if you meant to display multiple letters as is, try adding spaces between each letter: `a b` +// Hint: 4-6 or if you meant to display this as text, try placing it in quotes: `"ab"` +$ 5ab $ + --- issue-3774-math-call-empty-2d-args --- $ mat(;,) $ // Add some whitespace/trivia: -- cgit v1.2.3