[latex3-commits] [git/LaTeX3-latex3-babel] master: Fix #101. Issue 92 - first steps. (dd7da0e)

Javier email at dante.de
Tue Oct 20 18:26:58 CEST 2020


Repository : https://github.com/latex3/babel
On branch  : master
Link       : https://github.com/latex3/babel/commit/dd7da0e1af68ba1349bc1a8dfb7a3607b5f8cfc8

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

commit dd7da0e1af68ba1349bc1a8dfb7a3607b5f8cfc8
Author: Javier <email at localhost>
Date:   Tue Oct 20 18:26:58 2020 +0200

    Fix #101. Issue 92 - first steps.


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

dd7da0e1af68ba1349bc1a8dfb7a3607b5f8cfc8
 README.md              |   3 ++-
 babel.dtx              |  31 +++++++++++++++++++++++--------
 babel.ins              |   4 ++--
 babel.pdf              | Bin 812054 -> 812783 bytes
 bbcompat.dtx           |   2 +-
 locale/is/babel-is.ini |   6 +++---
 locale/mk/babel-mk.ini |   4 ++--
 locale/nl/babel-nl.ini |   6 +++---
 8 files changed, 36 insertions(+), 20 deletions(-)

diff --git a/README.md b/README.md
index 87fb1f2..56103d8 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.50.2159
+## Babel 3.50.2166
 
 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.
          - 'hyphenrules' raised an error with 'base' option (#59).
          - Better handling of autoloaded languages (eg, catcodes).
          - An error was raised with CJK and a null font (#99).
+         - ??? #92 Bold + Small Caps [still testing] 
 
 3.50   2020-10-06
        - Fixes:
diff --git a/babel.dtx b/babel.dtx
index 7cf3f6b..8edd764 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -31,7 +31,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2020/10/13 v3.50.2159 The Babel package]
+\ProvidesFile{babel.dtx}[2020/10/20 v3.50.2166 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -4778,8 +4778,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.50.2159>>
-%<<date=2020/10/13>>
+%<<version=3.50.2166>>
+%<<date=2020/10/20>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -12268,9 +12268,9 @@ help from Bernd Raichle, for which I am grateful.
 \newcommand\babelfont[2][]{%  1=langs/scripts 2=fam
   \bbl at foreach{#1}{%
     \expandafter\ifx\csname date##1\endcsname\relax
-    \IfFileExists{babel-##1.tex}%
-      {\babelprovide{##1}}%
-      {}%
+      \IfFileExists{babel-##1.tex}%
+        {\babelprovide{##1}}%
+        {}%
     \fi}%
   \edef\bbl at tempa{#1}%
   \def\bbl at tempb{#2}%  Used by \bbl at bblfont
@@ -12405,14 +12405,29 @@ help from Bernd Raichle, for which I am grateful.
 % font is defined.
 %
 %    \begin{macrocode}
+\ifx\AddToHook\@undefined\else
+  \AddToHook{rmfamily}{\bbl at set@fontseries\bfseries at rm@kernel}
+  \AddToHook{sffamily}{\bbl at set@fontseries\bfseries at sf@kernel}
+  \AddToHook{ttfamily}{\bbl at set@fontseries\bfseries at tt@kernel}
+  \def\bbl at set@fontseries#1{%
+    \ifx#1\@undefined\else
+      \expandafter
+      \in@\expandafter{\f at family}{cmr,cmss,cmtt,lcmss,lcmtt,lmr,lmss,lmtt}%
+      \ifin@\let\bfdefault#1\else\def\bfdefault{b}\fi
+    \fi}
+\fi
 \def\bbl at font@set#1#2#3{% eg \bbl at rmdflt@lang \rmdefault \rmfamily
   \bbl at xin@{<>}{#1}%
   \ifin@
     \bbl at exp{\\\bbl at fontspec@set\\#1\expandafter\@gobbletwo#1\\#3}%
   \fi
-  \bbl at exp{%
+  \bbl at exp{%              'Unprotected' macros return prev values
     \def\\#2{#1}%         eg, \rmdefault{\bbl at rmdflt@lang}
-    \\\bbl at ifsamestring{#2}{\f at family}{\\#3\let\\\bbl at tempa\relax}{}}}
+    \\\bbl at ifsamestring{#2}{\f at family}%
+      {\\#3%
+       \\\bbl at ifsamestring{\f at series}{\bfdefault}{\\\bfseries}{}%
+       \let\\\bbl at tempa\relax}%
+      {}}}
 %     TODO - next should be global?, but even local does its job. I'm
 %     still not sure -- must investigate:
 \def\bbl at fontspec@set#1#2#3#4{% eg \bbl at rmdflt@lang fnt-opt fnt-nme \xxfamily
diff --git a/babel.ins b/babel.ins
index 3a3adaa..d88cabf 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{2020/10/13}
+\def\filedate{2020/10/20}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
@@ -127,7 +127,7 @@
 \savingtrue
 \generate{\usepreamble\empty
           \usepostamble\empty
-          \file{babel.log}{\from{babel.dtx}{dummy}}}
+          \file{dummy.log}{\from{babel.dtx}{dummy}}}
 \savingfalse
 
 \generate{\file{babel.sty}{\from{babel.dtx}{package}}
diff --git a/babel.pdf b/babel.pdf
index f9a8ddb..19abcd6 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 01125a5..89cb64e 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2020/10/13 v3.50.2159]
+\ProvidesFile{bbcompat.dtx}[2020/10/20 v3.50.2166]
 %</dtx>
 %
 %% File 'bbcompat.dtx'
diff --git a/locale/is/babel-is.ini b/locale/is/babel-is.ini
index 448c990..c86ebed 100644
--- a/locale/is/babel-is.ini
+++ b/locale/is/babel-is.ini
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.2
-date = 2020-06-30
+version = 1.3
+date = 2020-10-13
 name.local = íslenska
 name.english = Icelandic
 name.babel = icelandic
@@ -148,7 +148,7 @@ time.medium = [HH]:[mm]:[ss]
 time.short = [HH]:[mm]
 
 [typography]
-frenchspacing = no
+frenchspacing = yes
 hyphenrules = icelandic
 lefthyphenmin = 2
 righthyphenmin = 2
diff --git a/locale/mk/babel-mk.ini b/locale/mk/babel-mk.ini
index ed61ee6..5800733 100644
--- a/locale/mk/babel-mk.ini
+++ b/locale/mk/babel-mk.ini
@@ -13,8 +13,8 @@
 
 [identification]
 charset = utf8
-version = 1.4
-date = 2020-06-30
+version = 1.5
+date = 2020-10-15
 name.local = македонски
 name.english = Macedonian
 name.babel = macedonian
diff --git a/locale/nl/babel-nl.ini b/locale/nl/babel-nl.ini
index eed836d..6410f5f 100644
--- a/locale/nl/babel-nl.ini
+++ b/locale/nl/babel-nl.ini
@@ -11,8 +11,8 @@
 
 [identification]
 charset = utf8
-version = 1.2
-date = 2020-06-30
+version = 1.3
+date = 2020-10-13
 name.local = Nederlands
 name.english = Dutch
 name.babel = dutch
@@ -148,7 +148,7 @@ time.medium = [HH]:[mm]:[ss]
 time.short = [HH]:[mm]
 
 [typography]
-frenchspacing = no
+frenchspacing = yes
 hyphenrules = dutch
 lefthyphenmin = 2
 righthyphenmin = 3





More information about the latex3-commits mailing list.