[latex3-commits] [latex3/babel] docs: 24.14 (a0791d1)
github at latex-project.org
github at latex-project.org
Sat Nov 30 10:53:55 CET 2024
Repository : https://github.com/latex3/babel
On branch : docs
Link : https://github.com/latex3/babel/commit/a0791d125dca87f3d8aa72f2416f9e1f592dd878
>---------------------------------------------------------------
commit a0791d125dca87f3d8aa72f2416f9e1f592dd878
Author: Javier <email at localhost>
Date: Sat Nov 30 10:53:55 2024 +0100
24.14
>---------------------------------------------------------------
a0791d125dca87f3d8aa72f2416f9e1f592dd878
docs/index.md | 2 +-
docs/news/whats-new-in-babel-24.14.md | 73 +++++++++++++++++++++++++----------
2 files changed, 54 insertions(+), 21 deletions(-)
diff --git a/docs/index.md b/docs/index.md
index dfe342d..c75f005 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -85,7 +85,7 @@ case, it's advisable to install TeXLive.)
| Version | Most relevant changes
| --- | --- |
-| [24.14](news/whats-new-in-babel-24.14.html) | (dev) Harfbuzz is the default renderer in most scripts. |
+| [24.14](news/whats-new-in-babel-24.14.html) | Harfbuzz is the default renderer in most scripts. |
| [24.13](news/whats-new-in-babel-24.13.html) | Transform variables for French. Pashto calendars. |
| [24.12](news/whats-new-in-babel-24.12.html) | Manual revised. `\PassOptionsToLocale` |
| [24.11](news/whats-new-in-babel-24.11.html) | Manual revised. Transform variables. |
diff --git a/docs/news/whats-new-in-babel-24.14.md b/docs/news/whats-new-in-babel-24.14.md
index 606d13d..87f03b0 100644
--- a/docs/news/whats-new-in-babel-24.14.md
+++ b/docs/news/whats-new-in-babel-24.14.md
@@ -1,17 +1,22 @@
# What's new in babel 24.14
-**Draft. Announcement.**
+2024-11-30
<span style="color:red;">⚠</span> **This release introduces a couple of
potentially breaking changes.**
+The revision of the documentation continues.
+
## Default renderer with `\babelfont`
`Harfbuzz` is now the default renderer in most scripts, except those of
the ‘Greek family’, including Latin, Cyrillic, Armenian and Georgian.
-(CJK is under study.) In the rest of scripts, if there is any change in
-the result it should be for the better. This is particularly true for
-the Indic scripts (Devanagari, Malayalam, Bangla, Tibetan, etc.).
+In the rest of scripts, if there is any change in the result it should
+be for the better. This is particularly true for the Indic scripts,
+like Devanagari, Malayalam, Bangla, Tibetan, etc., but also for RTL
+ones, like Arabic. (CJK is under study.) [There is an exception. For
+compatibity issues, Arabic, Hebrew and Syriac with `bidi-r` are still
+`Node`.]
There are two reasons to keep the default `Node` renderer in
those alphabetic scripts:
@@ -23,31 +28,59 @@ those alphabetic scripts:
heavily kerned, and explicit hyphens are mapped to the wrong Unicode
character.
-Note this feature applies to `\babelfont`. The standard calls to
-`fontspec` are not touched, and `\defaultfontfeatures` is still fully
-functional and it can be used to override the renderer chosen by
-`babel`.
+This feature applies to `\babelfont`. The standard calls to `fontspec`
+are not touched, and `\defaultfontfeatures` is still fully functional
+and it can be used to override the renderer chosen by `babel`.
+
+The following example illustrates how `\babelfont` defines fonts based
+on a generic declaration. `Babel` sets the script, the language, and
+the renderer for you, thus easing the font handling in complex
+multilingual documents:
+```tex
+\documentclass{article}
+
+\usepackage[bidi=basic]{babel}
+\babelfont{rm}{FreeSerif}
+
+\begin{document}
+\footnotesize
+\selectlanguage{hindi} \fontname\font\ \chaptername\par
+\selectlanguage{dutch} \fontname\font\ \chaptername\par
+\selectlanguage{arabic} \fontname\font\ \chaptername\par
+\selectlanguage{russian} \fontname\font\ \chaptername\par
+\selectlanguage{georgian} \fontname\font\ \chaptername\par
+\selectlanguage{bangla} \fontname\font\ \chaptername
+\end{document}
+```
-[There is an exception. For compatibity issues, Arabic, Hebrew and
-Syriac with `bidi-r` are still `Node`.]
+![](../media/renderer-node-harf.png)
## `import` in lazy loading
-Lazy loading now has an implicit ‘import’. This is a requested feature,
+Lazy loading now has an implicit `import`. This is a requested feature,
and currently there are no real reasons for not to set date and
-captions, for example. There were some restrictions in `pdftex`
-related to font encodings, but they were lifted a few months ago.
+captions, for example. There were some restrictions in `pdftex` related
+to font encodings, but they were lifted a few months ago.
+
+Remember this behavior can be adjusted with `autoload.options` and
+`autoload.bcp47.options` in `\babeladjust`.
## Changes in locale files
* **French.** Fix spacing with `punctuation.space` and successive ‘!’ and
‘?’. (Thanks to Daniel Flipo.)
-* **Japanese.** As explained in... , there were some pending tasks in a
- few languages related to transform variables. Now the `japanese`
- locale inserts the correct space with `linebreak.strict`, which is
- controlled with `small.natural`, `small.plus` and `small.minus`. They
- are set when the transform is activated to the `intraspace` values.
- In addition, the penalty, by default 10000, can be reset with
- `small.penalty`.
+* **Japanese.** As explained in [What’s new in babel
+ 24.11](https://latex3.github.io/babel/news/whats-new-in-babel-24.11.html),
+ there were some pending tasks in a few languages related to transform
+ variables. Now the `japanese` locale inserts the correct space with
+ `linebreak.strict`, which is controlled with `small.natural`,
+ `small.plus` and `small.minus`. They are set when the transform is
+ activated to the `intraspace` values. In addition, the penalty, by
+ default 10000, can be set with `small.penalty`.
+
+## Fixes
+
+* Issue with axis environment (tikz) in RTL context (graphics layout)
+ (#318). Thanks to Salim Bou [@seloumi](https://github.com/seloumi).
More information about the latex3-commits
mailing list.