From b9f3a95e03bd792bca4926959eab5f9f6edd1a9d Mon Sep 17 00:00:00 2001 From: +merlan #flirora Date: Fri, 27 Jun 2025 04:36:46 -0400 Subject: Sort line items by logical order when constructing frame (#5887) Co-authored-by: Laurenz --- tests/ref/issue-5775-cite-order-rtl.png | Bin 0 -> 14786 bytes tests/suite/model/cite.typ | 12 ++++++++++++ 2 files changed, 12 insertions(+) create mode 100644 tests/ref/issue-5775-cite-order-rtl.png (limited to 'tests') 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 Binary files /dev/null and b/tests/ref/issue-5775-cite-order-rtl.png 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() #cite(). // 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") -- cgit v1.2.3