summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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")