summaryrefslogtreecommitdiff
path: root/tests/typ/bugs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-11-19 18:55:36 +0100
committerLaurenz <laurmaedje@gmail.com>2023-11-19 18:57:28 +0100
commitc641044380652e097ffc85d3e66873b0364ee070 (patch)
tree2b53f1a2d8096c511f38d4a146c7831571ab28ad /tests/typ/bugs
parentb23914fca931b197a3f6d9c6bb80712dd176c115 (diff)
Workaround for show set propagation on citations
Fixes #2531
Diffstat (limited to 'tests/typ/bugs')
-rw-r--r--tests/typ/bugs/cite-show-set.typ9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/typ/bugs/cite-show-set.typ b/tests/typ/bugs/cite-show-set.typ
new file mode 100644
index 00000000..a4111c9a
--- /dev/null
+++ b/tests/typ/bugs/cite-show-set.typ
@@ -0,0 +1,9 @@
+// Test show set rules on citations.
+
+---
+#show cite: set text(red)
+A @netwok @arrgh.
+B #cite(<netwok>) #cite(<arrgh>).
+
+#show bibliography: none
+#bibliography("/files/works.bib")