diff options
| author | Sébastien d'Herbais de Thun <sebastien.d.herbais@gmail.com> | 2023-08-26 16:02:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-26 16:02:28 +0200 |
| commit | cd13e55dd1577fd98943982b686f245940d5ab72 (patch) | |
| tree | 25527f9030af314cfda977267fa69c155b73471e /tests/typ | |
| parent | 0f794c8c7579df09f4d2e0a648ef059e3d0f2593 (diff) | |
Fixed numbering hint (#2012)
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/bugs/equation-numbering-reference.typ | 15 |
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 |
