summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-12-08 19:36:04 +0100
committerGitHub <noreply@github.com>2024-12-08 18:36:04 +0000
commit4729d3d3bdf52268d143b9fe0ba6b097eae32bf8 (patch)
tree9620bd55a3479ddc810cb3c6fbf7eccd66e1f839 /tests
parent67ef6066f40c6503471217600f9873774db394c0 (diff)
Fix language-dependant figure caption separator in outline (#5550)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/issue-5370-figure-caption-separator-outline.pngbin0 -> 2078 bytes
-rw-r--r--tests/suite/model/figure.typ6
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/issue-5370-figure-caption-separator-outline.png b/tests/ref/issue-5370-figure-caption-separator-outline.png
new file mode 100644
index 00000000..a9b0d06e
--- /dev/null
+++ b/tests/ref/issue-5370-figure-caption-separator-outline.png
Binary files differ
diff --git a/tests/suite/model/figure.typ b/tests/suite/model/figure.typ
index 58ba2b2a..0e5db4d0 100644
--- a/tests/suite/model/figure.typ
+++ b/tests/suite/model/figure.typ
@@ -289,3 +289,9 @@ HI#footnote.entry(clearance: 2.5em)[There]
)
#c
+
+--- issue-5370-figure-caption-separator-outline ---
+// Test that language-dependant caption separator is respected in outline.
+#outline(title: none, target: figure)
+#set text(lang: "ru")
+#figure(rect(), caption: [Rectangle])