[latex3-commits] [git/LaTeX3-latex3-babel] main: 3.63. Quick fix for CKJ + XeTeX. (d007beb)

Javier email at dante.de
Thu Jul 22 21:19:41 CEST 2021


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

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

commit d007beb7dbee351126c6454229e3465aa91377a1
Author: Javier <email at localhost>
Date:   Thu Jul 22 21:19:41 2021 +0200

    3.63. Quick fix for CKJ + XeTeX.


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

d007beb7dbee351126c6454229e3465aa91377a1
 README.md                                     |  11 ++--
 babel.dtx                                     |  74 +++++++++++++-------------
 babel.ins                                     |   2 +-
 babel.pdf                                     | Bin 852005 -> 849481 bytes
 bbcompat.dtx                                  |   2 +-
 {testfiles => testfiles-disabled}/tlb1690.lvt |   0
 {testfiles => testfiles-disabled}/tlb1690.tlg |   0
 7 files changed, 46 insertions(+), 43 deletions(-)

diff --git a/README.md b/README.md
index 777d19b..93074fc 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.62
+## Babel 3.63
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages. Many
@@ -8,9 +8,9 @@ is a set of ini files for about 250 languages.
 
 The latest stable version is available on <https://ctan.org/pkg/babel>.
 
-Changes in version 3.62 are described in:
+Changes in version 3.63 are described in:
 
-https://latex3.github.io/babel/news/whats-new-in-babel-3.62.html
+https://latex3.github.io/babel/news/whats-new-in-babel-3.63.html
 
 Apart from the manual, you can find information on some aspects of babel at:
 
@@ -46,6 +46,9 @@ respective authors.
 
 ### Summary of Latest changes
 ```
+3.63   2021-07-22
+       * Fixes a severe bug with CJK and XeTeX introduced in 3.62.
+       
 3.62   2021-07-19
        * No more errors with unknown languages in aux file.
        * Preliminary support for \AddToHook.
@@ -57,4 +60,4 @@ respective authors.
 
 ### Previous changes
 
-See https://latex3.github.io/babel/
+See https://latex3.github.io/babel/#whats-new
diff --git a/babel.dtx b/babel.dtx
index e88326e..28b1a76 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2021/07/19 v3.62 The Babel package]
+\ProvidesFile{babel.dtx}[2021/07/22 v3.63 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -1305,12 +1305,12 @@ be the same as the option name as set in |\usepackage|!).
 \end{verbatim}
 \end{example}
 
-\begin{note}
-  With a recent version of \LaTeX, an alternative method to execute
-  some code just after an |ldf| file is loaded is with |\AddToHook| and
-  the hook |file/after/<language>.ldf|. \Babel{} does not predeclare
-  it, and you have to do it yourself with |\NewHook| or |\ProvideHook|.
-\end{note}
+% \begin{note}
+%   With a recent version of \LaTeX, an alternative method to execute
+%   some code just after an |ldf| file is loaded is with |\AddToHook| and
+%   the hook |file/after/<language>.ldf|. \Babel{} does not predeclare
+%   it, and you have to do it yourself with |\NewHook| or |\ProvideHook|.
+% \end{note}
 
 \begin{warning}
   Currently this option is not compatible with languages loaded on the
@@ -3710,13 +3710,13 @@ options are also used (eg, |\ProsodicMarksOn| in \textsf{latin}).
 events. Some hooks are predefined when \luatex{} and \xetex{} are
 used.
 
-\New{3.62} This is not the only way to inject code at those points. The
-events listed below can be used as a hook name in |\AddToHook| in the
-form |babel/|\marg{name}, but there is a limitation, because the
-parameters passed with the \babel{} mechanism are not allowed. The
-|\AddToHook| mechanism does \textit{not} replace the current one in
-`babel`. Its main advantage is you can reconfigure `babel` even before
-loading it. See the example below.
+% \New{3.62} This is not the only way to inject code at those points. The
+% events listed below can be used as a hook name in |\AddToHook| in the
+% form |babel/|\marg{name}, but there is a limitation, because the
+% parameters passed with the \babel{} mechanism are not allowed. The
+% |\AddToHook| mechanism does \textit{not} replace the current one in
+% `babel`. Its main advantage is you can reconfigure `babel` even before
+% loading it. See the example below.
 
 \Describe{\AddBabelHook}{\oarg{lang}\marg{name}\marg{event}\marg{code}}
 
@@ -3800,26 +3800,26 @@ ones, they only have a single hook and replace a default definition.
   file. Used by \file{luababel.def}.
 \end{description}
 
-\begin{example}
-The generic unlocalized \LaTeX{} hooks are predefined, so that you can
-write:
-\begin{verbatim}
-\AddToHook{babel/afterextras}{\frenchspacing} 
-\end{verbatim}
-which is executed always after the extras for the language being
-selected (and just before the non-localized hooks defined with
-|\AddBabelHook|).
-
-In addition, locale-specific hooks in the form
-|babel/|\marg{hook-name}|/|\marg{language-name} are \textit{recognized}
-(executed just before the localized \babel{} hooks), but they are \textit{not
-predefined}. You have to do it yourself. For example, to set
-|\frenchspacing| only in |bengali|:
-\begin{verbatim}
-\ProvideHook{babel/afterextras/bengali}
-\AddToHook{babel/afterextras/bengali}{\frenchspacing}
-\end{verbatim}
-\end{example}
+% \begin{example}
+% The generic unlocalized \LaTeX{} hooks are predefined, so that you can
+% write:
+% \begin{verbatim}
+% \AddToHook{babel/afterextras}{\frenchspacing} 
+% \end{verbatim}
+% which is executed always after the extras for the language being
+% selected (and just before the non-localized hooks defined with
+% |\AddBabelHook|).
+
+% In addition, locale-specific hooks in the form
+% |babel/|\marg{hook-name}|/|\marg{language-name} are \textit{recognized}
+% (executed just before the localized \babel{} hooks), but they are \textit{not
+% predefined}. You have to do it yourself. For example, to set
+% |\frenchspacing| only in |bengali|:
+% \begin{verbatim}
+% \ProvideHook{babel/afterextras/bengali}
+% \AddToHook{babel/afterextras/bengali}{\frenchspacing}
+% \end{verbatim}
+% \end{example}
 
 \Describe{\BabelContentsFiles}{}
 \New{3.9a} This macro contains a list of ``toc'' types
@@ -5024,8 +5024,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.62>>
-%<<date=2021/07/19>>
+%<<version=3.63>>
+%<<date=2021/07/22>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -13081,7 +13081,7 @@ help from Bernd Raichle, for which I am grateful.
         \ifx\AtBeginDocument\@notprerr
           \expandafter\@secondoftwo  % to execute right now
         \fi
-        \AtBeginDocument{\bbl at patchfont{\bbl at xenohyph}}%
+        \AtBeginDocument{\bbl at patchfont{\bbl at ispacesize}}%
       \fi}%
   \fi}
 \ifx\DisableBabelHook\@undefined\endinput\fi
diff --git a/babel.ins b/babel.ins
index de98307..1a40cdc 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{2021/07/19}
+\def\filedate{2021/07/22}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index 4ae4792..5ab700e 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index ef63539..9ed2c3c 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2021/07/19 v3.62]
+\ProvidesFile{bbcompat.dtx}[2021/07/22 v3.63]
 %</dtx>
 %
 %% File 'bbcompat.dtx'
diff --git a/testfiles/tlb1690.lvt b/testfiles-disabled/tlb1690.lvt
similarity index 100%
rename from testfiles/tlb1690.lvt
rename to testfiles-disabled/tlb1690.lvt
diff --git a/testfiles/tlb1690.tlg b/testfiles-disabled/tlb1690.tlg
similarity index 100%
rename from testfiles/tlb1690.tlg
rename to testfiles-disabled/tlb1690.tlg





More information about the latex3-commits mailing list.