[latex3-commits] [git/LaTeX3-latex3-babel] main: Bump to 3.75. (6b27158)
Javier
email at dante.de
Sun May 22 12:43:55 CEST 2022
Repository : https://github.com/latex3/babel
On branch : main
Link : https://github.com/latex3/babel/commit/6b2715895a0131af51f68f0d825289e672ae80cd
>---------------------------------------------------------------
commit 6b2715895a0131af51f68f0d825289e672ae80cd
Author: Javier <email at localhost>
Date: Sun May 22 12:43:55 2022 +0200
Bump to 3.75.
>---------------------------------------------------------------
6b2715895a0131af51f68f0d825289e672ae80cd
README.md | 28 +++-----
babel.dtx | 31 +++++----
babel.ins | 2 +-
babel.pdf | Bin 861823 -> 861855 bytes
bbcompat.dtx | 2 +-
locale-templates/no/babel-no.ini | 119 --------------------------------
locale-templates/no/babel-norwegian.tex | 12 ----
7 files changed, 29 insertions(+), 165 deletions(-)
diff --git a/README.md b/README.md
index b26dbee..2342eba 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,4 @@
-## Babel 3.75.2743
-
-''(Development.)''
+## Babel 3.75
This package manages culturally-determined typographical (and other)
rules, and hyphenation patterns for a wide range of languages. Many
@@ -48,26 +46,20 @@ respective authors.
### Summary of latest changes
```
-3.75 2022-05-?? (dev)
+3.75 2022-05-22
+ * `\BabelEnsureInfo` is active by default, to make sure the BCP 47
+ codes are always available, as they may be required by the
+ LaTeX kernel.
+ * `\localeinfo*` is like `\localeinfo` but expands to empty if
+ unknown (fully expandable).
+ * The key `character`/`ranges` in `ini` files now sets the
+ corresponding Unicode script ranges (as used by `onchar`).
* Fixes:
- Misplaced rule un diagbox (#43)
- Caption names of 'chapter' and 'part' swapped in Chinese (#180).
- Captions after numbers in Lithuanian.
- `hyphenrules` in the `ini` files for `en-AU` and
- `en-NZ` where set to english instead of `ukenglish`.
- * The key `character`/`ranges` in `ini` files now sets the
- corresponding Unicode script ranges (as used by `onchar`).
- * `\BabelEnsureInfo` is active by default, to make sure the BCP47
- codes are always available, as they may be required by the
- LaTeX kernel.
- * `\localeinfo*` is like `\localeinfo` but expands to nothing if
- unknown (fully expandable).
-
-3.74 2022-04-30
- * Fixes:
- - Error in transforms if | is active.
- - Minor fixes in Khemer, Turkmen, Marathi.
- * RTL math improved (with luatex).
+ `en-NZ` where set to `english` instead of `ukenglish`.
```
### Previous changes
diff --git a/babel.dtx b/babel.dtx
index 43f3945..6bc32b0 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
%
% \iffalse
%<*filedriver>
-\ProvidesFile{babel.dtx}[2022/05/20 v3.75.2743 The Babel package]
+\ProvidesFile{babel.dtx}[2022/05/22 v3.75 The Babel package]
\documentclass{ltxdoc}
\GetFileInfo{babel.dtx}
\usepackage{fontspec}
@@ -2979,12 +2979,15 @@ named |\LocaleForEach| to traverse the list, where |#1| is the name of
the current item, so that |\LocaleForEach{\message{ **#1** }}| just
shows the loaded |ini|’s.
-\Describe{\BabelEnsureInfo}{}
-|ini| files are loaded with |\babelprovide| and also when languages are
-selected if there is a |\babelfont| or they have not been explicitly
-declared. To ensure the |ini| files are loaded (and therefore the
-corresponding data) even if these two conditions are not met, write
-|\BabelEnsureInfo| in the preamble.
+\Describe{ensureinfo=off}{}
+\New{3.75} Previously, |ini| files are loaded only with |\babelprovide|
+and also when languages are selected if there is a |\babelfont| or they
+have not been explicitly declared. Now the |ini| files are loaded (and
+therefore the corresponding data) even if these two conditions are not
+met (in previous versions you had to enable it with |\BabelEnsureInfo|
+in the preamble). Because of the way this feature works, problems are
+very unlikely, but there is switch as a package option to turn the new
+behavior off (|ensureinfo=off|).
\subsection{Hyphenation and line breaking}
@@ -5140,8 +5143,8 @@ help from Bernd Raichle, for which I am grateful.
% \section{Tools}
%
% \begin{macrocode}
-%<<version=3.75.2743>>
-%<<date=2022/05/20>>
+%<<version=3.75>>
+%<<date=2022/05/22>>
% \end{macrocode}
%
% \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -11033,20 +11036,20 @@ help from Bernd Raichle, for which I am grateful.
\@namedef{bbl at info@script.tag.opentype}{sotf}
\@namedef{bbl at info@region.tag.bcp47}{rbcp}
\@namedef{bbl at info@variant.tag.bcp47}{vbcp}
-% extensions are dealt with in a special way
-\let\bbl at ensureinfo\@gobble
-% An internal \LaTeX{} macro:
+% Extensions are dealt with in a special way
+% Now, an internal \LaTeX{} macro:
\providecommand\BCPdata[1]{\localeinfo*{#1.tag.bcp47}}
% \end{macrocode}
%
-% Now |\BabelEnsureInfo| is executed always, but there is an option to
-% disable it.
+% With version 3.75 |\BabelEnsureInfo| is executed always, but there is
+% an option to disable it.
%
% \begin{macrocode}
%<<*More package options>>
\DeclareOption{ensureinfo=off}{}
%<</More package options>>
%
+\let\bbl at ensureinfo\@gobble
\newcommand\BabelEnsureInfo{%
\ifx\InputIfFileExists\@undefined\else
\def\bbl at ensureinfo##1{%
diff --git a/babel.ins b/babel.ins
index fee950a..188056d 100644
--- a/babel.ins
+++ b/babel.ins
@@ -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{2022/05/20}
+\def\filedate{2022/05/22}
\def\batchfile{babel.ins}
\input docstrip.tex
diff --git a/babel.pdf b/babel.pdf
index 2577c92..52960c9 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 93792de..725de44 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
%
% \iffalse
%<*dtx>
-\ProvidesFile{bbcompat.dtx}[2022/05/20 v3.75.2743]
+\ProvidesFile{bbcompat.dtx}[2022/05/22 v3.75]
%</dtx>
%
%% File 'bbcompat.dtx'
diff --git a/locale-templates/no/babel-no.ini b/locale-templates/no/babel-no.ini
deleted file mode 100644
index fff37e5..0000000
--- a/locale-templates/no/babel-no.ini
+++ /dev/null
@@ -1,119 +0,0 @@
-; This file is part of babel. For further details see:
-; https://www.ctan.org/pkg/babel
-; Data has been collected mainly from the following sources:
-; * Common Locale Data Repository (license Unicode):
-; http://cldr.unicode.org/
-; http://unicode.org/copyright.html
-
-[identification]
-charset = utf8
-version = 0.1
-date = 2020-07-12
-name.local =
-name.english = Norwegian
-name.babel = norwegian
-tag.bcp47 = no
-language.tag.bcp47 = no
-tag.bcp47.likely = no-Latn-NO
-; see https://docs.microsoft.com/en-us/typography/opentype/spec/languagetags
-tag.opentype =
-script.name = Latin
-script.tag.bcp47 = Latn
-; see https://docs.microsoft.com/en-us/typography/opentype/spec/scripttags
-script.tag.opentype =
-level = 1
-encodings =
-derivate = no
-
-[captions]
-; xetex, luatex
-preface =
-ref =
-abstract =
-bib =
-chapter =
-appendix =
-contents =
-listfigure =
-listtable =
-index =
-figure =
-table =
-part =
-encl =
-cc =
-headto =
-page =
-see =
-also =
-proof =
-
-[captions.licr]
-; pdftex
-preface =
-ref =
-abstract =
-bib =
-chapter =
-appendix =
-contents =
-listfigure =
-listtable =
-index =
-figure =
-table =
-part =
-encl =
-cc =
-headto =
-page =
-see =
-also =
-proof =
-
-[date.gregorian]
-date.long = [d][ ][MMMM] [y]
-date.short = [y]-[MM]-[dd]
-months.wide.1 =
-months.wide.2 =
-months.wide.3 =
-months.wide.4 =
-months.wide.5 =
-months.wide.6 =
-months.wide.7 =
-months.wide.8 =
-months.wide.9 =
-months.wide.10 =
-months.wide.11 =
-months.wide.12 =
-
-[date.gregorian.licr]
-months.wide.1 =
-months.wide.2 =
-months.wide.3 =
-months.wide.4 =
-months.wide.5 =
-months.wide.6 =
-months.wide.7 =
-months.wide.8 =
-months.wide.9 =
-months.wide.10 =
-months.wide.11 =
-months.wide.12 =
-
-[time.gregorian]
-time.medium = [HH]:[mm]:[ss]
-time.short = [HH]:[mm]
-
-[typography]
-frenchspacing =
-hyphenrules =
-lefthyphenmin =
-righthyphenmin =
-hyphenchar =
-prehyphenchar =
-posthyphenchar =
-exhyphenchar =
-preexhyphenchar =
-postexhyphenchar =
-hyphenationmin =
diff --git a/locale-templates/no/babel-norwegian.tex b/locale-templates/no/babel-norwegian.tex
deleted file mode 100644
index 1bce13c..0000000
--- a/locale-templates/no/babel-norwegian.tex
+++ /dev/null
@@ -1,12 +0,0 @@
-% This file is part of babel. For further details see:
-% https://www.ctan.org/pkg/babel
-\ifx\BabelBeforeIni\undefined
- \PackageError{babel}%
- {This file is a component of babel and cannot\MessageBreak
- be loaded directly. I'll stop immediately}%
- {Just use babel as documented.}%
- \stop
-\fi
-\BabelBeforeIni{no}{%
-}
-\endinput
\ No newline at end of file
More information about the latex3-commits
mailing list.