View on GitHub

Babel

The multilingual framework to localize LaTeX, LuaLaTeX, XeLaTeX

What’s new in babel 25.12

2025-08-03

Option mapdot

With mapdot=<text> as an option in ‘provide’, the standard counters (those starting with \the...) are traversed to replace each dot by the provided text in a locale-dependent way. Without a value, a default is used — currenty the only default value is for the Arabic (ar) locales, which is set to a hyphen (the zero and the dot are very similar in this script).

For example, with the default value:

\usepackage[arabic, provide={mapdigits, mapdot}, bidi=basic]{babel}

With a comma and a non-breaking space, it’s mapdot=،~.

This option doesn’t replace the definition of these macros by completely new ones. Instead, it modifies them. This replacement may fail in some classes (for example and interestingly, it works with bbook, but it doesn’t with the companion barticle).

Two notes:

Fixes