summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/meta/figure.pngbin54197 -> 190166 bytes
-rw-r--r--tests/typ/meta/figure.typ22
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/ref/meta/figure.png b/tests/ref/meta/figure.png
index 83bd7b7f..1bc3b0dc 100644
--- a/tests/ref/meta/figure.png
+++ b/tests/ref/meta/figure.png
Binary files differ
diff --git a/tests/typ/meta/figure.typ b/tests/typ/meta/figure.typ
index 7d618d06..36e2da47 100644
--- a/tests/typ/meta/figure.typ
+++ b/tests/typ/meta/figure.typ
@@ -109,3 +109,25 @@ We can clearly see that @fig-cylinder and
table(columns: 2)[a][b],
caption: [The table with custom separator.],
)
+
+---
+// Test localized default separator
+#set text(lang: "fr", region: "CH")
+
+#figure(
+ circle(),
+ caption: [Un cercle.],
+)
+#set text(lang: "es")
+
+#figure(
+ polygon.regular(size: 1cm, vertices: 3),
+ caption: [Un triángulo.],
+)
+
+#set text(lang: "fr", region: "CA")
+
+#figure(
+ square(),
+ caption: [Un carré.],
+)