View on GitHub

Babel

The multilingual framework to localize LaTeX, LuaLaTeX, XeLaTeX

What’s new in babel 25.6

2025-03-27

Transforms

The input.nospaces transform provides a convenient way to input text by removing spaces and line breaks between two CJK characters (but not between a Latin, Cyrillic, etc., character and a CJK one).

The transform spacing.basic for Chinese and Japanese has undergone thorough revision and is now considered essentially stable. As its name suggests, it provides a basic, general-purpose set of rules that deliver on average a reasonably result across various fonts. The new transform settings have been tested on approximately 80 CJK fonts.

One issue is the design of certain characters, such as quotation marks, question marks, and exclamation marks, can vary. Additionally, the full-width colon and semicolon may exhibit different visual appearances. This transform assumes:

Directive @include

To reduce many duplicated declarations (and simplify maintenance), an @include directive has been added to the ini mechanism. When @include = <name> is encountered, babel reads the file babel-<name>.ini. The <name> must not resemble that of an ini locale file. It has been devised mainly for transforms. See the locale files for Japanese, Arabic and Sanskrit for examples.