You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in Lithuanian language tables and pictures are numbered as 1 Lentelė/1 Pav., that is digit goes before the supplement.
It would be nice if this would be available, either hardcoded for appropriate languages, or by expanding the way captions are specified.
I could contribute the Lithuanian text language, but this is blocking proper translation.
Use Case
To create grammatically correct documents in Lithuanian language.
Reacted by Curly-Howard-Chungus Correspondence | Lamport-Cabot-Codd-Backus-Naur Form, Ramojus Lapinskas, Felipe Raimann, bluss and cppHusky
I looked at the code to try but cannot get what caused the text order to happen. This is a good idea, we should have some generalized rules and certain localized rules.
Activity
ichxorya commentedon Nov 1, 2023
I looked at the code to try but cannot get what caused the text order to happen. This is a good idea, we should have some generalized rules and certain localized rules.
gnojus commentedon Nov 1, 2023
Could be some of the places it's hardcoded in (for Figure)?:
typst/crates/typst-library/src/meta/figure.rs
Line 386 in 0f274f8
typst/crates/typst-library/src/meta/figure.rs
Line 554 in 0f274f8
[-]More flexible Figure, Table captions[/-][+]Proper i18n for figure captions[/+]Jisu-Woniu commentedon May 7, 2024
In Chinese, when we mention a section, we say “第 1 节” (meaning "No. 1 Section" approximately).
It would be good if we can use a supplement taking number as a parameter.
YDX-2147483647 commentedon Jul 17, 2025
A workaround for figures
Set
supplementtoit => none, and put the real supplement innumbering.The numbly package is necessary here, or
ain after will be interpreted as a pattern (abcd…).