[latex3-commits] [git/LaTeX3-latex3-latex2e] master: Babel 3.26. Quick fix for \babelprovide in xetex. (9708dcd)

Javier javier at dante.de
Wed Oct 17 18:49:51 CEST 2018


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/9708dcd8b996c2ad81c686fa7aba73aab14716c2

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

commit 9708dcd8b996c2ad81c686fa7aba73aab14716c2
Author: Javier <javier at localhost>
Date:   Wed Oct 17 18:49:35 2018 +0200

    Babel 3.26. Quick fix for \babelprovide in xetex.


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

9708dcd8b996c2ad81c686fa7aba73aab14716c2
 required/babel/README.md    |    5 +++--
 required/babel/babel.dtx    |   51 ++++++++++++++++++++++++-------------------
 required/babel/babel.ins    |    2 +-
 required/babel/babel.pdf    |  Bin 658893 -> 658874 bytes
 required/babel/bbcompat.dtx |    2 +-
 5 files changed, 33 insertions(+), 27 deletions(-)

diff --git a/required/babel/README.md b/required/babel/README.md
index 4b6f760..3a19153 100644
--- a/required/babel/README.md
+++ b/required/babel/README.md
@@ -1,4 +1,4 @@
-## Babel 3.25
+## Babel 3.26
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages.  Many
@@ -51,6 +51,7 @@ respective authors.
 ### Latest changes
 
 ```
+3.26   - Fix for 3.25 - \babelprovide raised an error with xetex. 
 3.25   - Fixes for 3.23 - mapfont=direction could raise an error.
          Language and Script were not always defined correctly.
        - Improved tentative support for Thai, Lao and Khmer in both 
@@ -114,5 +115,5 @@ respective authors.
 ```
 
 Javier Bezos
-2018/10/03
+2018/10/16
 
diff --git a/required/babel/babel.dtx b/required/babel/babel.dtx
index 5bc0f3f..ab5d814 100644
--- a/required/babel/babel.dtx
+++ b/required/babel/babel.dtx
@@ -31,7 +31,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2018/10/03 v3.25 The Babel package]
+\ProvidesFile{babel.dtx}[2018/10/16 v3.26 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -3857,8 +3857,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.25>>
-%<<date=2018/10/03>>
+%<<version=3.26>>
+%<<date=2018/10/16>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -7724,6 +7724,8 @@ help from Bernd Raichle, for which I am grateful.
 % \changes{babel~3.20}{2018/05/01}{Handle native digits (TeX level).
 %   New option - maparabic.}
 % \changes{babel~3.23}{2018/09/01}{Valueless import}
+% \changes{babel~3.26}{2018/10/16}{Quick fix for xetex - test the 
+%   script for intraspace}
 %
 %    \begin{macrocode}
 \bbl at trace{Creating languages and reading ini files}
@@ -7830,28 +7832,31 @@ help from Bernd Raichle, for which I am grateful.
         \expandafter\bbl at intrapenalty\bbl at KVP@intrapenalty\@@
       \fi}%
   \or 
-    \bbl at ifunset{bbl at intsp@\languagename}{}%
-      {\expandafter\ifx\csname bbl at intsp@\languagename\endcsname\@empty\else
-        \ifx\bbl at KVP@intraspace\@nil
-           \bbl at exp{%
-             \\\bbl at intraspace\bbl at cs{intsp@\languagename}\\\@@}%
+    \bbl at xin@{\bbl at cs{sbcp@\languagename}}{Thai,Laoo,Khmr}%
+    \ifin@
+      \bbl at ifunset{bbl at intsp@\languagename}{}%
+        {\expandafter\ifx\csname bbl at intsp@\languagename\endcsname\@empty\else
+          \ifx\bbl at KVP@intraspace\@nil
+             \bbl at exp{%
+               \\\bbl at intraspace\bbl at cs{intsp@\languagename}\\\@@}%
+          \fi
+          \ifx\bbl at KVP@intrapenalty\@nil
+            \bbl at intrapenalty0\@@
+          \fi
         \fi
-        \ifx\bbl at KVP@intrapenalty\@nil
-          \bbl at intrapenalty0\@@
+        \ifx\bbl at KVP@intraspace\@nil\else % We may override the ini
+          \expandafter\bbl at intraspace\bbl at KVP@intraspace\@@
         \fi
-      \fi
-      \ifx\bbl at KVP@intraspace\@nil\else % We may override the ini
-        \expandafter\bbl at intraspace\bbl at KVP@intraspace\@@
-      \fi
-      \ifx\bbl at KVP@intrapenalty\@nil\else
-        \expandafter\bbl at intrapenalty\bbl at KVP@intrapenalty\@@
-      \fi
-      \ifx\bbl at ispacesize\@undefined
-        \AtBeginDocument{%
-          \expandafter\bbl at add
-          \csname selectfont \endcsname{\bbl at ispacesize}}%
-        \def\bbl at ispacesize{\bbl at cs{xeisp@\bbl at cs{sbcp@\languagename}}}%
-      \fi}%
+        \ifx\bbl at KVP@intrapenalty\@nil\else
+          \expandafter\bbl at intrapenalty\bbl at KVP@intrapenalty\@@
+        \fi
+        \ifx\bbl at ispacesize\@undefined
+          \AtBeginDocument{%
+            \expandafter\bbl at add
+            \csname selectfont \endcsname{\bbl at ispacesize}}%
+          \def\bbl at ispacesize{\bbl at cs{xeisp@\bbl at cs{sbcp@\languagename}}}%
+        \fi}%
+    \fi
   \fi
   % Native digits, if provided in ini
   \ifcase\bbl at engine\else
diff --git a/required/babel/babel.ins b/required/babel/babel.ins
index c166c12..aefa407 100644
--- a/required/babel/babel.ins
+++ b/required/babel/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{2018/10/03}
+\def\filedate{2018/10/16}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/required/babel/babel.pdf b/required/babel/babel.pdf
index a3923e4..f624409 100644
Binary files a/required/babel/babel.pdf and b/required/babel/babel.pdf differ
diff --git a/required/babel/bbcompat.dtx b/required/babel/bbcompat.dtx
index b5a5ca8..c25a6ea 100644
--- a/required/babel/bbcompat.dtx
+++ b/required/babel/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2018/10/03 v3.25]
+\ProvidesFile{bbcompat.dtx}[2018/10/16 v3.26]
 %</dtx>
 %
 %% File 'bbcompat.dtx'





More information about the latex3-commits mailing list