summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
author+merlan #flirora <flirora@flirora.xyz>2025-06-27 04:36:46 -0400
committerGitHub <noreply@github.com>2025-06-27 08:36:46 +0000
commitb9f3a95e03bd792bca4926959eab5f9f6edd1a9d (patch)
tree2457267e13d2872844145ee8a77fcf68ef33ec25 /tests
parente8ce894ee7317654a0de1c822d14b3e169dde4d9 (diff)
Sort line items by logical order when constructing frame (#5887)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/issue-5775-cite-order-rtl.pngbin0 -> 14786 bytes
-rw-r--r--tests/suite/model/cite.typ12
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/ref/issue-5775-cite-order-rtl.png b/tests/ref/issue-5775-cite-order-rtl.png
new file mode 100644
index 00000000..982ceef3
--- /dev/null
+++ b/tests/ref/issue-5775-cite-order-rtl.png
Binary files differ
diff --git a/tests/suite/model/cite.typ b/tests/suite/model/cite.typ
index b328dda4..1a79b690 100644
--- a/tests/suite/model/cite.typ
+++ b/tests/suite/model/cite.typ
@@ -147,3 +147,15 @@ B #cite(<netwok>) #cite(<arrgh>).
// Error: 7-17 expected label, found string
// Hint: 7-17 use `label("%@&#*!\\")` to create a label
#cite("%@&#*!\\")
+
+--- issue-5775-cite-order-rtl ---
+// Test citation order in RTL text.
+#set page(width: 300pt)
+@netwok
+aaa
+این است
+@tolkien54
+و این یکی هست
+@arrgh
+
+#bibliography("/assets/bib/works.bib")