[latex3-commits] [git/LaTeX3-latex3-babel] docs: 3.64 released. (d75155a)
Javier
email at dante.de
Wed Oct 13 17:06:43 CEST 2021
Repository : https://github.com/latex3/babel
On branch : docs
Link : https://github.com/latex3/babel/commit/d75155a1f9b776afdf1f050f5644bc3abddabf66
>---------------------------------------------------------------
commit d75155a1f9b776afdf1f050f5644bc3abddabf66
Author: Javier <email at localhost>
Date: Wed Oct 13 17:06:43 2021 +0200
3.64 released.
>---------------------------------------------------------------
d75155a1f9b776afdf1f050f5644bc3abddabf66
docs/index.md | 2 +-
docs/news/whats-new-in-babel-3.62.md | 13 +++++++------
docs/news/whats-new-in-babel-3.64.md | 30 ++++++++++++++++++++++--------
3 files changed, 30 insertions(+), 15 deletions(-)
diff --git a/docs/index.md b/docs/index.md
index 6ffc247..734d79a 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -48,7 +48,7 @@ case, it's advisable to install TeXLive.)
| Version | Most relevant changes
| --- | --- |
-| [3.64](news/whats-new-in-babel-3.64.html) | (Under development.)
+| [3.64](news/whats-new-in-babel-3.64.html) | New counters in CJK.
| [3.63](news/whats-new-in-babel-3.63.html) | Fixes a severe bug with CJK and XeTeX.
| [3.62](news/whats-new-in-babel-3.62.html) | Preliminary support for `\AddToHook`.
| [3.61](news/whats-new-in-babel-3.61.html) | Transform `danda.nobreak`. Improved Arabic justification.
diff --git a/docs/news/whats-new-in-babel-3.62.md b/docs/news/whats-new-in-babel-3.62.md
index e20004e..fc7368c 100644
--- a/docs/news/whats-new-in-babel-3.62.md
+++ b/docs/news/whats-new-in-babel-3.62.md
@@ -13,7 +13,8 @@ found (for example, if there was a typo in the document).
## LaTeX hooks
-**Note LaTeX hooks are still liable to change.**
+⚠ This section has been modified with the release of version 3.64, after
+some changes in the LaTeX hooking mechanism.
There is some partial support for the new LaTeX hooks. The hooks
predefined by `babel` has the same names as those of `\AddBabelHook`,
@@ -21,20 +22,20 @@ the main limitation being the parameters passed with the `babel`
mechanism are not allowed. The generic unlocalized hooks are
predefined, so that you can write:
```tex
-\AddToHook{babel/afterextras}{\frenchspacing}
+\AddToHook{babel/*/afterextras}{\frenchspacing}
```
which is executed always after the extras for the language being
selected (and just before the non-localized hooks defined with
-`\AddBabelHook`).
+`\AddBabelHook`). Here the star means ‘all languages’.
In addition, locale-specific hooks in the form
-`babel/hook-name/language-name` are *recognized* (executed just before
+`babel/language-name/hook-name` are *recognized* (executed just before
the localized `babel` hooks), but they are *not predefined*. You have
to do it yourself. For example, to set `\frenchspacing` only in
`bengali`:
```tex
-\ActivateGenericHook{babel/afterextras/bengali}
-\AddToHook{babel/afterextras/bengali}{\frenchspacing}
+\ActivateGenericHook{babel/bengali/afterextras}
+\AddToHook{babel/bengali/afterextras}{\frenchspacing}
```
This mechanism does *not* replace the current one in `babel`. Its main
diff --git a/docs/news/whats-new-in-babel-3.64.md b/docs/news/whats-new-in-babel-3.64.md
index 3b09481..0b72183 100644
--- a/docs/news/whats-new-in-babel-3.64.md
+++ b/docs/news/whats-new-in-babel-3.64.md
@@ -2,9 +2,17 @@
*(Under development.)*
-2021-10-??
+2021-10-13
-## New counters in CJK
+## Changes in the preliminary code for LaTeX hooks
+
+⚠ Following some changes in the LaTeX mechanism itself, the interface in
+`babel` han been modified. See the news for version
+[3.62](https://latex3.github.io/babel/news/whats-new-in-babel-3.62.html#latex-hooks).
+
+## Changes in `ini` files
+
+### New counters in CJK
Some new counters has been added to the CJK languages. For Chinese and
Korean:
@@ -15,6 +23,12 @@ And for Japanese, these two counters and also:
* `cjk-earthly-branch`: 子 丑 寅 卯 辰 巳 午 未 申 酉 戌 亥
* `cjk-heavenly-stem`: 甲 乙 丙 丁 戊 己 庚 辛 壬 癸
+### Norwegian
+
+The names and tags for Norwegian have been aligned with the CLDR
+39. Particularly, `no` is now the main language and it’s the locale
+loaded with `norwegian`.
+
## Revert fix for `\selectlanguage`
In version
@@ -24,8 +38,8 @@ there was a partial fix for the `\write` issue with `\selectlanguage`
page](https://github.com/latex3/babel/issues/114)). As explained in the
news page for that release “the fix is not perfect and it can even lead
to some problems”, but it was introduced in the hope these problems
-will be less frequent and not too serious, but it has turned out it was
-not so.
+will be less frequent and not too serious. Sadly, it has turned out it
+was not so.
The previous behavior has been restored, but it can be configured in
the following way:
@@ -49,15 +63,15 @@ with `luatex`).
* Babel errors on document option `chinese` (#141)
* In some `ini` files multiple `babel.name`’s were separated keys with a
- suffix (`A`, `B`), and in some other they were grouped in a single
- key with space separated names. Now only the latter system (a single
+ suffix (`A`, `B`, etc.), and in some other they were grouped in a single
+ key with a space-separated list. Now only the latter system (a single
key) is used.
## Other changes
An internal change is now `babel.sty` and `babel.def` are separate
-files for LaTeX and Plain-based formats. Until now, `babel.sty` loaded
-partially `babel.def`.
+files for LaTeX and Plain-based formats, respectively. So far,
+`babel.sty` loaded partially `babel.def`.
The options manager for languages (the way `babel` processes the
language options declared in the package or the class) has been
More information about the latex3-commits
mailing list.