View on GitHub

Babel

The multilingual framework to localize LaTeX, LuaLaTeX, XeLaTeX

What’s new in babel 24.9

2024-08-29

Counters

(LuaLaTeX.) Now localized counters are also available as transforms, with name digits.native. It’s an alternative to mapdigits, which the advantage it can be enabled and disabled in the middle of the paragraph.

CJK spacing and line breaking

A couple of tentative transforms apply rules to follow some common conventions in Chinese and Japanese (currently only locales jp and zh).

Note currently spacing.basic assumes punctuation marks (comma, colon, period, etc.) are visually aligned in the font to the left inside the character block (eg, Noto JP and SC). Centered punctuation (eg, Noto TC and HK) will be addressed in a future release (including middle dot).

Also, although it is barely noticeable, the tiny spaces inserted for justification are missing in these transforms. This limitation will be fixed in the next releases and a way to configure the values of kerns and spaces will be added (in general for transforms, not only CJK).