[latex3-commits] [latex3/babel] docs: 24.1 (c12b235)
github at latex-project.org
github at latex-project.org
Sun Jan 7 18:27:55 CET 2024
Repository : https://github.com/latex3/babel
On branch : docs
Link : https://github.com/latex3/babel/commit/c12b235264cd51612800d92754851eee3696c2e5
>---------------------------------------------------------------
commit c12b235264cd51612800d92754851eee3696c2e5
Author: Javier <email at localhost>
Date: Sun Jan 7 18:27:55 2024 +0100
24.1
>---------------------------------------------------------------
c12b235264cd51612800d92754851eee3696c2e5
docs/index.md | 2 +-
docs/news/whats-new-in-babel-24.1.md | 39 +++++++++++++++++++++++++++---------
2 files changed, 31 insertions(+), 10 deletions(-)
diff --git a/docs/index.md b/docs/index.md
index 2450804..0c19a3e 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -48,7 +48,7 @@ case, it's advisable to install TeXLive.)
| Version | Most relevant changes
| --- | --- |
-| [24.1](news/whats-new-in-babel-24.1.html) | **New version numbering**. Key `interchar` in `\babelprovide`. |
+| [24.1](news/whats-new-in-babel-24.1.html) | **New version numbering**. `interchar` in `\babelprovide`. Spaces in French. |
| [3.99](news/whats-new-in-babel-3.99.html) | About 25 new locale files. |
| [3.98](news/whats-new-in-babel-3.98.html) | `casing` in `ini` files. Improved `persian`/`farsi` |
| [3.97](news/whats-new-in-babel-3.97.html) | `\babelcharclass`, `\babelinterchar` (`xetex`) |
diff --git a/docs/news/whats-new-in-babel-24.1.md b/docs/news/whats-new-in-babel-24.1.md
index 295b9cb..290a760 100644
--- a/docs/news/whats-new-in-babel-24.1.md
+++ b/docs/news/whats-new-in-babel-24.1.md
@@ -1,23 +1,44 @@
# What's new in babel 24.1
-**Draft**
+2024-01-07
A new version numbering scheme is adopted, better suited to the rapid
release cycle of `babel` (every few weeks). The first release in year
2024 is `24.1` (there is no zeroth release 🙂).
-## More 'interchar'
+## More ‘interchar’
-There is a new key in `\babelprovide` for predefined ‘interchar’
-declarations. A set of declarations has been added for French, with the
-name `punctuation.space`:
+There is a new key in `\babelprovide` for ‘interchar’ declarations,
+predefined in the corresponding `babel-<locale.name>.tex` file (as set
+in the `ini` file with the key `require.babel`).
+
+There can be several ‘interchar’ labels in `interchar`, separated with
+spaces.
+
+A new macro filters in the `tex` file which ones are set up, namely
+`\IfBabelIntercharT{<list-of-interchar>}{<code>}` — if any of the
+values in the `\babelprovide` are listed, the the `<code>` is executed.
+
+See the following section for an example.
+
+## Spacing in French
+
+Firstly, remember `ini` files are not necessarily a replacement for
+`ldf' files. For a complete localization for French, prefer default the
+style by Daniel Flipo. The `ini` locale is mainly intended for French
+as a secondary language (although it can also be used as the primary
+language, if you like).
+
+A set of rules dfor proper spacing in French are now `predefined` when the
+`ini` locale files are loaded. The are activaded as follows. With
+`xetex`:
```tex
\babelprovide[interchar=puntuation.space, import, main]{french}
```
-
-‘Interchar’ declarations are done in the corresponding
-`babel-<locale.name>.tex` file, with the help of a new macro to filter
-which ones are setup, namely `\IfBabelIntercharT{<list-of-interchar>`.
+And with `luatex`:
+```tex
+\babelprovide[transforms=puntuation.space, import, main]{french}
+```
(Incidentally, a couple of wrong names in the French locale `tex` files
has been fixed.)
More information about the latex3-commits
mailing list.