summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/bugs/equation-numbering-reference.typ15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/typ/bugs/equation-numbering-reference.typ b/tests/typ/bugs/equation-numbering-reference.typ
new file mode 100644
index 00000000..3423f022
--- /dev/null
+++ b/tests/typ/bugs/equation-numbering-reference.typ
@@ -0,0 +1,15 @@
+// In this bug, the hint and error messages for an equation
+// being reference mentioned that it was a "heading" and was
+// lacking the proper path.
+// Ref: false
+
+---
+#set page(height: 70pt)
+
+$
+ Delta = b^2 - 4 a c
+$ <quadratic>
+
+// Error: 14-24 cannot reference equation without numbering
+// Hint: 14-24 you can enable equation numbering with `#set math.equation(numbering: "1.")`
+Looks at the @quadratic formula. \ No newline at end of file