From c641044380652e097ffc85d3e66873b0364ee070 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 19 Nov 2023 18:55:36 +0100 Subject: Workaround for show set propagation on citations Fixes #2531 --- tests/ref/bugs/cite-show-set.png | Bin 0 -> 2193 bytes tests/typ/bugs/cite-show-set.typ | 9 +++++++++ 2 files changed, 9 insertions(+) create mode 100644 tests/ref/bugs/cite-show-set.png create mode 100644 tests/typ/bugs/cite-show-set.typ (limited to 'tests') diff --git a/tests/ref/bugs/cite-show-set.png b/tests/ref/bugs/cite-show-set.png new file mode 100644 index 00000000..566186a4 Binary files /dev/null and b/tests/ref/bugs/cite-show-set.png differ 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() #cite(). + +#show bibliography: none +#bibliography("/files/works.bib") -- cgit v1.2.3