diff options
| author | MALO <57839069+MDLC01@users.noreply.github.com> | 2023-10-22 13:33:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-22 13:33:00 +0200 |
| commit | aaac1dbd683501e81bef4d961ed90c6c869030e4 (patch) | |
| tree | e023f78008aa08282e4f1f53ad4b7cc3c8328a09 /tests | |
| parent | 7f185f21e0b93c981ed99bd35ff1e981f48c7be0 (diff) | |
Adapt default figure separator to the current locale (#2390)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/meta/figure.png | bin | 54197 -> 190166 bytes | |||
| -rw-r--r-- | tests/typ/meta/figure.typ | 22 |
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/ref/meta/figure.png b/tests/ref/meta/figure.png Binary files differindex 83bd7b7f..1bc3b0dc 100644 --- a/tests/ref/meta/figure.png +++ b/tests/ref/meta/figure.png 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é.], +) |
