From 63e6150ca1cd793d5c2a994e892d862b45bdaa42 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 1 Oct 2024 12:44:27 +0200 Subject: Fix order of tags in text show rules matches (#5083) --- tests/ref/issue-5014-show-text-tags.png | Bin 0 -> 184 bytes tests/suite/styling/show-text.typ | 9 +++++++++ 2 files changed, 9 insertions(+) create mode 100644 tests/ref/issue-5014-show-text-tags.png (limited to 'tests') diff --git a/tests/ref/issue-5014-show-text-tags.png b/tests/ref/issue-5014-show-text-tags.png new file mode 100644 index 00000000..4cefe9d3 Binary files /dev/null and b/tests/ref/issue-5014-show-text-tags.png differ diff --git a/tests/suite/styling/show-text.typ b/tests/suite/styling/show-text.typ index 66ae6580..4e031648 100644 --- a/tests/suite/styling/show-text.typ +++ b/tests/suite/styling/show-text.typ @@ -199,3 +199,12 @@ $a^2 + b^2 = c^2$ is Pythagoras' theorem. a \ #h(0pt, weak: true) b \ #h(0pt, weak: true) $x$ c $y$ + +--- issue-5014-show-text-tags --- +#{ + let c = counter("c") + show "b": context c.get().first() + [a] + c.step() + [bc] +} -- cgit v1.2.3