[latex3-commits] [git/LaTeX3-latex3-babel] master: \markboth and \markright made robust (with the latest LaTeX). (2beca76)

Javier jbezos at dante.de
Fri Oct 11 17:47:50 CEST 2019


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

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

commit 2beca76879fa7a0d302d1438afb4405c21930a03
Author: Javier <jbezos at localhost>
Date:   Fri Oct 11 17:47:50 2019 +0200

    \markboth and \markright made robust (with the latest LaTeX).


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

2beca76879fa7a0d302d1438afb4405c21930a03
 README.md    |   3 ++-
 babel.dtx    |  21 +++++++++++++--------
 babel.ins    |   2 +-
 babel.pdf    | Bin 701907 -> 702452 bytes
 bbcompat.dtx |   2 +-
 5 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/README.md b/README.md
index 320b122..75afbcf 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.34.1786
+## Babel 3.34.1791
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages.  Many
@@ -52,6 +52,7 @@ respective authors.
 
 ```
 3.35   2019-10-??
+       - \markboth and \markright made robust with a recent LaTeX.
        - Shorthands work in bibs and refs even with safe=none.
        - Fix - Another issue related to \ensureascii and LGR (#30)
        - (Testing) a way to re(set) values in ini files.
diff --git a/babel.dtx b/babel.dtx
index 6c1fc64..c576f79 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -31,7 +31,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2019/10/06 v3.34.1786 The Babel package]
+\ProvidesFile{babel.dtx}[2019/10/11 v3.34.1791 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -4073,8 +4073,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.34.1786>>
-%<<date=2019/10/06>>
+%<<version=3.34.1791>>
+%<<date=2019/10/11>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -9106,7 +9106,8 @@ help from Bernd Raichle, for which I am grateful.
          \noexpand\babelsublr{\unexpanded\expandafter{\thepage}}}}%
    \fi}
   {\ifbbl at single\else
-     \bbl at redefine\markright#1{%
+     \bbl at ifunset{markright }\bbl at redefine\bbl at redefinerobust
+     \markright#1{%
        \bbl at ifblank{#1}%
          {\org at markright{}}%
          {\toks@{#1}%
@@ -9138,7 +9139,8 @@ help from Bernd Raichle, for which I am grateful.
 %    Now we can start the new definition of |\markboth|
 %
 %    \begin{macrocode}
-     \bbl at redefine\markboth#1#2{%
+     \bbl at ifunset{markboth }\bbl at redefine\bbl at redefinerobust
+     \markboth#1#2{%
        \protected at edef\bbl at tempb##1{%
          \protect\foreignlanguage
          {\languagename}{\protect\bbl at restore@actives##1}}%
@@ -11300,9 +11302,12 @@ help from Bernd Raichle, for which I am grateful.
      \bbl at warning{The current font is not a babel standard family:\\%
        #1%
        \fontname\font\\%
-       There is nothing intrinsically wrong with it, but\\%
-       'babel' will no set Script and Language. Consider\\%
-       defining a new family with \string\babelfont.\\%
+       There is nothing intrinsically wrong with this warning, and\\%
+       you can ignore it altogether if you do not need these\\%
+       families. But if they are used in the document, you should be\\%
+       aware 'babel' will no set Script and Language for them, so\\%
+       you may consider defining a new family with \string\babelfont.\\%
+       See the manual for further details about \string\babelfont.\\%
        Reported}}
    {}}%
 \gdef\bbl at switchfont{%
diff --git a/babel.ins b/babel.ins
index be5b059..0e61e88 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{2019/10/06}
+\def\filedate{2019/10/11}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index 3c27c02..37ecff3 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index ee95afd..cdccc4c 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2019/10/06 v3.34.1786]
+\ProvidesFile{bbcompat.dtx}[2019/10/11 v3.34.1791]
 %</dtx>
 %
 %% File 'bbcompat.dtx'





More information about the latex3-commits mailing list