[latex3-commits] [latex3/babel] main: Bump to 24.1 (e5a612c)

github at latex-project.org github at latex-project.org
Sun Jan 7 18:23:23 CET 2024


Repository : https://github.com/latex3/babel
On branch  : main
Link       : https://github.com/latex3/babel/commit/e5a612c96589ad36a32ae617c6626a8b05dfaaac

>---------------------------------------------------------------

commit e5a612c96589ad36a32ae617c6626a8b05dfaaac
Author: Javier <email at localhost>
Date:   Sun Jan 7 18:23:23 2024 +0100

    Bump to 24.1


>---------------------------------------------------------------

e5a612c96589ad36a32ae617c6626a8b05dfaaac
 README.md                 |  26 +++++++++-----------------
 babel-code.pdf            | Bin 643045 -> 642704 bytes
 babel.dtx                 |  33 +++++++++++++++++++++++++--------
 babel.ins                 |   4 ++--
 babel.pdf                 | Bin 419514 -> 419409 bytes
 bbcompat.dtx              |   2 +-
 locale/fr/babel-fr-BE.ini |  40 ++++++++++++++++++++++++++++++++++++++--
 locale/fr/babel-fr-CA.ini |  32 ++++++++++++++++++++++++++++++--
 locale/fr/babel-fr-LU.ini |   4 ++--
 locale/fr/babel-fr.ini    |  41 +++++++++++++++++++++++++++++++++++++++--
 10 files changed, 146 insertions(+), 36 deletions(-)

diff --git a/README.md b/README.md
index 6ce6e33..55553c8 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-## Babel 3.99.36567
+## Babel 24.1
 
-2023-12-10
+2024-01-07
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages. Many
@@ -10,9 +10,9 @@ is a set of ini files for about 300 languages.
 
 The latest stable version is available on <https://ctan.org/pkg/babel>.
 
-Changes in version 3.99 are described in:
+Changes in version 24.1 are described in:
 
-https://latex3.github.io/babel/news/whats-new-in-babel-3.99.html
+https://latex3.github.io/babel/news/whats-new-in-babel-24.1.html
 
 Apart from the manual, you can find information on some aspects of babel at:
 
@@ -48,19 +48,11 @@ respective authors.
 
 ### Summary of latest changes
 ```
-24.1 2024-01-?? (dev)
-     * New key in \babelprovide: interchar (xe)
-     * Definitions for French interchar=punctuation.space (xe)
-     
-3.99 2023-12-10
-     * Spurious space in some cases because of a missing % (introduced
-     in 3.98).
-     * Two new locales: chakma and lowgerman.
-     * And more bare minimum locales: aramaic, avestan, aymara,
-     bashkir, bataktoba, bavarian, classicalmandaic, ingush, komi,
-     lepcha, limbu, lineara, lu, makasar, samaritan, sinteromani,
-     tainua, tangut, waray.
-
+24.1 2024-01-07
+     * New version numbering scheme.
+     * New key in \babelprovide: interchar (xe).
+     * Definitions for French interchar=punctuation.space (xe) and
+       transforms=punctuation.space (lua).
 ```
 
 ### Previous changes
diff --git a/babel-code.pdf b/babel-code.pdf
index 4b90deb..d9b3837 100644
Binary files a/babel-code.pdf and b/babel-code.pdf differ
diff --git a/babel.dtx b/babel.dtx
index 5f24cf5..4bf1f3e 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -1,7 +1,7 @@
 % \iffalse
 % This document requires lualatex
 %%
-%% Copyright (C) 2012-2023 Javier Bezos and Johannes L. Braams.
+%% Copyright (C) 2012-2024 Javier Bezos and Johannes L. Braams.
 %% Copyright (C) 1989-2012 Johannes L. Braams and
 %%           any individual authors listed elsewhere in this file.
 %% All rights reserved.
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2023/12/31 v3.99.36567 The Babel package]
+\ProvidesFile{babel.dtx}[2024/01/07 v24.1 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -90,17 +90,23 @@
     localization}}
 \ExplSyntaxOn
 \newcommand\New[1]{%
-  \regex_extract_once:nnN{(\d\d?)\.(\d\d)}{#1}\bbltempa
+  \regex_extract_once:nnN{(\d\d?)\.(\d\d?)}{#1}\bbltempa
   \seq_pop_right:NN\bbltempa\bbltempb
   \seq_pop_right:NN\bbltempa\bbltempa
   \colorbox[rgb]{.92, .86, .73}%
     {New~#1%
     \quark_if_no_value:NTF\bbltempb{}%
-      {~\ifnum\bbltempa>2 \ifnum\bbltempb>34
+      {~
+       \ifnum\bbltempa>2 \ifnum\bbltempb>34
          \href{https://latex3.github.io/babel/news/%
                whats-new-in-babel-\bbltempa.\bbltempb.html}%
               {\raisebox{.15ex}{$\oplus$}}%
-       \fi\fi}}\enspace\ignorespaces}
+       \fi\fi
+       \ifnum\bbltempa>23
+         \href{https://latex3.github.io/babel/news/%
+               whats-new-in-babel-\bbltempa.\bbltempb.html}%
+              {\raisebox{.15ex}{$\oplus$}}%
+       \fi}}\enspace\ignorespaces}
 \ExplSyntaxOff
 \definecolor{thered}{rgb}{0.65,0.04,0.07}
 \definecolor{thegrey}{gray}{0.8}
@@ -275,7 +281,8 @@ are highlighted with \New{X.XX}\hspace{-.5em}
 (\raisebox{.15ex}{$\oplus$} is a link to the \babel{} site), and there
 are some notes for the latest versions in
 \href{https://latex3.github.io/babel/}{the \babel{} site}. The most
-recent features can be still unstable.
+recent features can be still unstable. Remember version 24.1 follows
+3.99, because of a new numbering scheme.
 
 \item[\sffamily\color{messages}Can I help?] Sure! If you are interested
 in the \TeX{} multilingual support, please join the
@@ -3628,6 +3635,9 @@ a non-syllabic preposition or conjunction into a non-breaking space.}
 \trans{Finnish}{prehyphen.nobreak}{Line breaks just after hyphens
 prepended to words are prevented, like in “pakastekaapit ja -arkut”.}
 
+\trans{French}{punctuation.space}{Rules for proper spacing with
+characters \textit{;:!?«»} are applied.}
+
 \trans{Greek}{diaeresis.hyphen}{Removes the diaeresis above iota and
 upsilon if hyphenated just before. It works with the three variants.}
 
@@ -3901,6 +3911,13 @@ current language.
   however, must be large enough for many uses).
 \end{warning}
 
+\Describe{interchar=}{\meta{interchar-list}}
+
+\New{24.1} This key in |\babelprovide| activates predefined rules for
+the ‘provided’ locale. Currently there is a set of rules for French
+named |punctuation.space|, which applies proper spacing with characters
+\textit{;:!?«»}.
+
 \subsection{Selection based on BCP 47 tags}
 \label{bcp47}
 
@@ -5678,8 +5695,8 @@ wouldn’t exist.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.99.36567>>
-%<<date=2023/12/31>>
+%<<version=24.1>>
+%<<date=2024/01/07>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
diff --git a/babel.ins b/babel.ins
index 4e36f2b..5c80152 100644
--- a/babel.ins
+++ b/babel.ins
@@ -3,7 +3,7 @@
 %% driver files from the doc files in this package when run through
 %% LaTeX or TeX.
 %%
-%% Copyright 2012-2023 Javier Bezos and Johannes L. Braams.
+%% Copyright 2012-2024 Javier Bezos and Johannes L. Braams.
 %% Copyright 1989-2008 Johannes L. Braams and any individual authors
 %% listed elsewhere in this file.  All rights reserved.
 %% 
@@ -26,7 +26,7 @@
 %% and covered by LPPL is defined by the unpacking scripts (with
 %% extension .ins) which are part of the distribution.
 %%
-\def\filedate{2023/12/31}
+\def\filedate{2024/01/07}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index eb34d2a..b28a330 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index df9766d..e1de136 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2023/12/31 v3.99.36567]
+\ProvidesFile{bbcompat.dtx}[2024/01/07 v24.1]
 %</dtx>
 %
 %% File 'bbcompat.dtx'
diff --git a/locale/fr/babel-fr-BE.ini b/locale/fr/babel-fr-BE.ini
index 4b65307..7c72949 100644
--- a/locale/fr/babel-fr-BE.ini
+++ b/locale/fr/babel-fr-BE.ini
@@ -9,8 +9,8 @@
 
 [identification]
 charset = utf8
-version = 0.981
-date = 2022-05-14
+version = 1.0
+date = 2024-01-03
 name.local = français
 name.english = French
 name.babel = french-belgium french-be
@@ -186,3 +186,39 @@ superscriptingExponent = ×
 
 [counters]
 date.day = 1\textsuperscript{er} 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
+
+[transforms.prehyphenation]
+punctuation.space.1.0 = { [^|{(}{[}{007B}] () [;!{?}] () }
+punctuation.space.1.1 =   { insert, penalty = 10000 }
+punctuation.space.1.2 =   { insert, spacefactor= .5 0 0, data = 1 }
+punctuation.space.1.3 =   {}
+punctuation.space.2.0 = { [^{(}{[}{007B}] () | [;!{?}] () }
+punctuation.space.2.1 =   { insert, penalty = 10000 }
+punctuation.space.2.2 =   { spacefactor= .5 0 0, data = 2 }
+punctuation.space.2.3 =   {}
+punctuation.space.3.0 = { [^|{(}{[}{007B} ] () : () }
+punctuation.space.3.1 =   { insert, penalty = 10000 }
+punctuation.space.3.2 =   { insert, spacefactor= 1 1 1, data = 1 }
+punctuation.space.3.3 =   {}
+punctuation.space.4.0 = { [^{(}{[}{007B} ] () |: () }
+punctuation.space.4.1 =   { insert, penalty = 10000 }
+punctuation.space.4.2 =   { spacefactor= 1 1 1, data = 2 }
+punctuation.space.4.3 =   {}
+punctuation.space.5.0 = { [^|]()»() }
+punctuation.space.5.1 =   { insert, penalty = 10000 }
+punctuation.space.5.2 =   { insert, spacefactor= .8 .3 .8, data = 1 }
+punctuation.space.5.3 =   {}
+punctuation.space.6.0 = { [^|]()|»() }
+punctuation.space.6.1 =   { insert, penalty = 10000 }
+punctuation.space.6.2 =   { spacefactor= .8 .3 .8, data = 2 }
+punctuation.space.6.3 =   {}
+punctuation.space.7.0 = { «[^|] }
+punctuation.space.7.1 =   {}
+punctuation.space.7.2 =   { insert, penalty = 10000 }
+punctuation.space.7.3 =   { insert, spacefactor= .8 .3 .8, data = 1 }
+punctuation.space.7.4 =   {}
+punctuation.space.8.0 = { «|[^|] }
+punctuation.space.8.1 =   {}
+punctuation.space.8.2 =   { insert, penalty = 10000 }
+punctuation.space.8.3 =   { spacefactor= .8 .3 .8, data = 1 }
+punctuation.space.8.4 =   {}
diff --git a/locale/fr/babel-fr-CA.ini b/locale/fr/babel-fr-CA.ini
index acfefb6..86116c3 100644
--- a/locale/fr/babel-fr-CA.ini
+++ b/locale/fr/babel-fr-CA.ini
@@ -9,8 +9,8 @@
 
 [identification]
 charset = utf8
-version = 0.983
-date = 2022-06-02
+version = 1.0
+date = 2024-01-03
 name.local = français canadien
 name.english = Canadian French
 name.babel = canadien french-canada french-ca canadianfrench
@@ -186,3 +186,31 @@ superscriptingExponent = ×
 
 [counters]
 date.day = 1\textsuperscript{er} 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
+
+[transforms.prehyphenation]
+punctuation.space.1.0 = { [^|{(}{[}{007B} ] () : () }
+punctuation.space.1.1 =   { insert, penalty = 10000 }
+punctuation.space.1.2 =   { insert, spacefactor= 1 1 1, data = 1 }
+punctuation.space.1.3 =   {}
+punctuation.space.2.0 = { [^{(}{[}{007B} ] () |: () }
+punctuation.space.2.1 =   { insert, penalty = 10000 }
+punctuation.space.2.2 =   { spacefactor= 1 1 1, data = 2 }
+punctuation.space.2.3 =   {}
+punctuation.space.3.0 = { [^|]()»() }
+punctuation.space.3.1 =   { insert, penalty = 10000 }
+punctuation.space.3.2 =   { insert, spacefactor= .8 .3 .8, data = 1 }
+punctuation.space.3.3 =   {}
+punctuation.space.4.0 = { [^|]()|»() }
+punctuation.space.4.1 =   { insert, penalty = 10000 }
+punctuation.space.4.2 =   { spacefactor= .8 .3 .8, data = 2 }
+punctuation.space.4.3 =   {}
+punctuation.space.5.0 = { «[^|] }
+punctuation.space.5.1 =   {}
+punctuation.space.5.2 =   { insert, penalty = 10000 }
+punctuation.space.5.3 =   { insert, spacefactor= .8 .3 .8, data = 1 }
+punctuation.space.5.4 =   {}
+punctuation.space.6.0 = { «|[^|] }
+punctuation.space.6.1 =   {}
+punctuation.space.6.2 =   { insert, penalty = 10000 }
+punctuation.space.6.3 =   { spacefactor= .8 .3 .8, data = 1 }
+punctuation.space.6.4 =   {}
diff --git a/locale/fr/babel-fr-LU.ini b/locale/fr/babel-fr-LU.ini
index e078206..048028c 100644
--- a/locale/fr/babel-fr-LU.ini
+++ b/locale/fr/babel-fr-LU.ini
@@ -9,8 +9,8 @@
 
 [identification]
 charset = utf8
-version = 0.982
-date = 2022-05-14
+version = 1.0
+date = 2024-01-03
 name.local = français
 name.english = French
 name.babel = french-luxembourg french-lu
diff --git a/locale/fr/babel-fr.ini b/locale/fr/babel-fr.ini
index 94adf41..5567074 100644
--- a/locale/fr/babel-fr.ini
+++ b/locale/fr/babel-fr.ini
@@ -9,8 +9,8 @@
 
 [identification]
 charset = utf8
-version = 0.981
-date = 2022-05-14
+version = 1.0
+date = 2024-01-03
 name.local = français
 name.english = French
 name.babel = french
@@ -185,3 +185,40 @@ superscriptingExponent = ×
 
 [counters]
 date.day = 1\textsuperscript{er} 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
+
+[transforms.prehyphenation]
+punctuation.space.1.0 = { [^|{(}{[}{007B}] () [;!{?}] () }
+punctuation.space.1.1 =   { insert, penalty = 10000 }
+punctuation.space.1.2 =   { insert, spacefactor= .5 0 0, data = 1 }
+punctuation.space.1.3 =   {}
+punctuation.space.2.0 = { [^{(}{[}{007B}] () | [;!{?}] () }
+punctuation.space.2.1 =   { insert, penalty = 10000 }
+punctuation.space.2.2 =   { spacefactor= .5 0 0, data = 2 }
+punctuation.space.2.3 =   {}
+punctuation.space.3.0 = { [^|{(}{[}{007B} ] () : () }
+punctuation.space.3.1 =   { insert, penalty = 10000 }
+punctuation.space.3.2 =   { insert, spacefactor= 1 1 1, data = 1 }
+punctuation.space.3.3 =   {}
+punctuation.space.4.0 = { [^{(}{[}{007B} ] () |: () }
+punctuation.space.4.1 =   { insert, penalty = 10000 }
+punctuation.space.4.2 =   { spacefactor= 1 1 1, data = 2 }
+punctuation.space.4.3 =   {}
+punctuation.space.5.0 = { [^|]()»() }
+punctuation.space.5.1 =   { insert, penalty = 10000 }
+punctuation.space.5.2 =   { insert, spacefactor= .8 .3 .8, data = 1 }
+punctuation.space.5.3 =   {}
+punctuation.space.6.0 = { [^|]()|»() }
+punctuation.space.6.1 =   { insert, penalty = 10000 }
+punctuation.space.6.2 =   { spacefactor= .8 .3 .8, data = 2 }
+punctuation.space.6.3 =   {}
+punctuation.space.7.0 = { «[^|] }
+punctuation.space.7.1 =   {}
+punctuation.space.7.2 =   { insert, penalty = 10000 }
+punctuation.space.7.3 =   { insert, spacefactor= .8 .3 .8, data = 1 }
+punctuation.space.7.4 =   {}
+punctuation.space.8.0 = { «|[^|] }
+punctuation.space.8.1 =   {}
+punctuation.space.8.2 =   { insert, penalty = 10000 }
+punctuation.space.8.3 =   { spacefactor= .8 .3 .8, data = 1 }
+punctuation.space.8.4 =   {}
+





More information about the latex3-commits mailing list.