summaryrefslogtreecommitdiff
path: root/tests/typ/bugs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-04-19 16:49:22 +0200
committerLaurenz <laurmaedje@gmail.com>2023-04-19 16:51:47 +0200
commit5a6330dbfce9ed30c77502b66db843fd72b2d267 (patch)
tree3baa8cd117e3b81dbf6d6b6d67520e5bb6d8c7bb /tests/typ/bugs
parent981c578ff9f1ef33a9ab00bc0ecf8fcacabc156f (diff)
Fix math hiding once more
Diffstat (limited to 'tests/typ/bugs')
-rw-r--r--tests/typ/bugs/math-hide.typ16
-rw-r--r--tests/typ/bugs/math-realize.typ5
2 files changed, 5 insertions, 16 deletions
diff --git a/tests/typ/bugs/math-hide.typ b/tests/typ/bugs/math-hide.typ
deleted file mode 100644
index 8e268c97..00000000
--- a/tests/typ/bugs/math-hide.typ
+++ /dev/null
@@ -1,16 +0,0 @@
-// Ensure that the math is properly hidden.
-
----
-#set page(height: 70pt)
-
-Testing $delta$
-
-$ a^2 + b^2 = c^2 $
-
-#hide[
- Hello
-
- $ f(x) := x^2 $
-
- World $f(x)$
-]
diff --git a/tests/typ/bugs/math-realize.typ b/tests/typ/bugs/math-realize.typ
index c2772ab5..19e2c93a 100644
--- a/tests/typ/bugs/math-realize.typ
+++ b/tests/typ/bugs/math-realize.typ
@@ -13,3 +13,8 @@ $ 1 + sqrt(x/2) + sqrt(#hide($x/2$)) $
$ a x #link("url", $+ b$) $
$ f f1 f2 $
$ vec(1,2) * 2 $
+
+---
+$ x^2 #hide[$(>= phi.alt) union y^2 0$] z^2 $
+Hello #hide[there $x$]
+and #hide[$ f(x) := x^2 $]