[latex3-commits] [git/LaTeX3-latex3-babel] main: Bump to 3.70. Fix lua error with bidi and some fonts for graphics. (7c9a30c)
Javier
email at dante.de
Wed Jan 26 16:39:00 CET 2022
Repository : https://github.com/latex3/babel
On branch : main
Link : https://github.com/latex3/babel/commit/7c9a30cbf7178237816cff0afdddc7de9e1a73b0
>---------------------------------------------------------------
commit 7c9a30cbf7178237816cff0afdddc7de9e1a73b0
Author: Javier <email at localhost>
Date: Wed Jan 26 16:39:00 2022 +0100
Bump to 3.70. Fix lua error with bidi and some fonts for graphics.
>---------------------------------------------------------------
7c9a30cbf7178237816cff0afdddc7de9e1a73b0
README.md | 18 +++---------------
babel.dtx | 18 ++++++++++++------
babel.ins | 2 +-
babel.pdf | Bin 863260 -> 853492 bytes
bbcompat.dtx | 2 +-
testfiles/tlb2773.tlg | 1 -
testfiles/tlb2944.tlg | 1 -
testfiles/tlb3091.tlg | 1 -
testfiles/tlb3756.tlg | 2 --
9 files changed, 17 insertions(+), 28 deletions(-)
diff --git a/README.md b/README.md
index 34fdee5..7587c42 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.69.2622
+## Babel 3.70
This package manages culturally-determined typographical (and other)
rules, and hyphenation patterns for a wide range of languages. Many
@@ -46,23 +46,11 @@ respective authors.
### Summary of Latest changes
```
-3.70 2022-01-?? (dev)
+3.70 2022-01-26
* Finnish: transform 'prehyphen.nobreak'.
* Better fixes for amsmath, as well as for the default
'equation' and 'eqnarray' (but still not perfect).
-
-3.69 2021-12-30
- * Fixes a severe bug with amsmath and mathtools introduced in
- 3.68 (#162).
-
-3.68 2021-12-28
- * Fixes:
- - Assamese, Bengali, Gujarati set incorrectly prehyphenchar.
- - The syntax provide=* didn’t work with Hebrew and a few other
- languages.
- - Wrong equation direction in first column in array and tabular
- environment (#158).
- - Tentative fixes for labels in displayed math (#159).
+ * Fix an error with bidi=basic and some fonts for graphics.
```
### Previous changes
diff --git a/babel.dtx b/babel.dtx
index 0dd21b9..a9b4ad6 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
%
% \iffalse
%<*filedriver>
-\ProvidesFile{babel.dtx}[2022/01/19 v3.69.2622 The Babel package]
+\ProvidesFile{babel.dtx}[2022/01/26 v3.70 The Babel package]
\documentclass{ltxdoc}
\GetFileInfo{babel.dtx}
\usepackage{fontspec}
@@ -3150,11 +3150,14 @@ Spanish}{hyphen.repeat}{Explicit hyphens behave like
\trans{Czech, Polish, Slovak}{oneletter.nobreak}{Converts a space after
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{Greek}{diaeresis.hyphen}{Removes the diaeresis above iota and
upsilon if hyphenated just before. It works with the three variants.}
-\trans{Greek}{transliteration.omega}{Although he provided combinations
-are not exactly the same, this transform follows the syntax of Omega:
+\trans{Greek}{transliteration.omega}{Although the provided combinations
+are not the full set, this transform follows the syntax of Omega:
|=| for the circumflex, |v| for digamma, and so on. For better
compatibility with Levy’s system, \texttt{\string~} (as ‘string’) is an
alternative to |=|. |'| is tonos in Monotonic Greek, but oxia in
@@ -5119,8 +5122,8 @@ help from Bernd Raichle, for which I am grateful.
% \section{Tools}
%
% \begin{macrocode}
-%<<version=3.69.2622>>
-%<<date=2022/01/19>>
+%<<version=3.70>>
+%<<date=2022/01/26>>
% \end{macrocode}
%
% \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -22032,7 +22035,10 @@ function Babel.bidi(head, ispar, hdir)
item = nodes[r][1] -- MIRRORING
if Babel.mirroring_enabled and item.id == GLYPH
and temp == 'r' and characters[item.char] then
- local font_mode = font.fonts[item.font].properties.mode
+ local font_mode = ''
+ if font.fonts[item.font].properties then
+ font_mode = font.fonts[item.font].properties.mode
+ end
if font_mode ~= 'harf' and font_mode ~= 'plug' then
item.char = characters[item.char].m or item.char
end
diff --git a/babel.ins b/babel.ins
index c237399..cc5a9a0 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/01/19}
+\def\filedate{2022/01/26}
\def\batchfile{babel.ins}
\input docstrip.tex
diff --git a/babel.pdf b/babel.pdf
index ff35fdd..58449b9 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 509497c..c96b67d 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
%
% \iffalse
%<*dtx>
-\ProvidesFile{bbcompat.dtx}[2022/01/19 v3.69.2622]
+\ProvidesFile{bbcompat.dtx}[2022/01/26 v3.70]
%</dtx>
%
%% File 'bbcompat.dtx'
diff --git a/testfiles/tlb2773.tlg b/testfiles/tlb2773.tlg
index 7b697a4..8b30be2 100644
--- a/testfiles/tlb2773.tlg
+++ b/testfiles/tlb2773.tlg
@@ -79,7 +79,6 @@ LaTeX Font Info: External font `cmex10' loaded for size
...\hbox(6.2+0.0)x7.40158
....\OML/cmm/m/it/14.4 a
..\mathoff
-..\kern 0.0
..\penalty 10000
..\glue(\parfillskip) 0.0 plus 1.0fil
..\glue(\rightskip) 0.0
diff --git a/testfiles/tlb2944.tlg b/testfiles/tlb2944.tlg
index d91750f..f1b0460 100644
--- a/testfiles/tlb2944.tlg
+++ b/testfiles/tlb2944.tlg
@@ -87,7 +87,6 @@ LaTeX Font Info: External font `cmex10' loaded for size
......\glue 6.0
.....\glue(\tabskip) 0.0
...\mathoff
-..\kern 0.0
..\penalty 10000
..\glue(\parfillskip) 0.0
..\glue(\rightskip) 0.0 plus 1.0fil
diff --git a/testfiles/tlb3091.tlg b/testfiles/tlb3091.tlg
index 0f9e537..db3f662 100644
--- a/testfiles/tlb3091.tlg
+++ b/testfiles/tlb3091.tlg
@@ -69,7 +69,6 @@ Package: babel
...\T2A/cmr/bx/n/10 1
...\kern -1.0
...\kern 1.0
-..\kern 0.0
..\penalty 10000
..\glue(\parfillskip) -15.49623
..\glue(\rightskip) 15.49623
diff --git a/testfiles/tlb3756.tlg b/testfiles/tlb3756.tlg
index 3730f68..b7fcdf1 100644
--- a/testfiles/tlb3756.tlg
+++ b/testfiles/tlb3756.tlg
@@ -55,7 +55,6 @@ Completed box being shipped out [1]
....\kern 1.91666
....\OT1/cmr/bx/n/10 .
....\kern 1.91666
-....\kern 0.0
....\penalty 10000
....\glue(\parfillskip) 0.0
....\glue(\rightskip) 0.0 plus 1.0fil
@@ -173,7 +172,6 @@ Completed box being shipped out [1]
....\OT1/cmr/m/n/8 5
....\OT1/cmr/m/n/8 .
....\rule(6.99997+3.00003)x0.0
-....\kern 0.0
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0
More information about the latex3-commits
mailing list.