aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-04-25 22:39:14 -0700
committerJohn MacFarlane <[email protected]>2025-04-25 22:39:56 -0700
commitfb5499d7af1654bdcb93247950d72baffa562d98 (patch)
tree849e46cad628b8dfe9c21cd8266ed1c134858e05 /test
parenta32a9ff7e9683220828e5c86eeb7a6cdde462581 (diff)
Typst writer: add equation label if math contains `\label{..}`.
Closes #10805.
Diffstat (limited to 'test')
-rw-r--r--test/command/10805.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/command/10805.md b/test/command/10805.md
new file mode 100644
index 000000000..e3d02bc51
--- /dev/null
+++ b/test/command/10805.md
@@ -0,0 +1,9 @@
+```
+% pandoc -t typst -f latex
+\begin{equation}
+ \label{eq:U}
+ U = A
+\end{equation}
+^D
+$ U = A $<eq:U>
+```