texlive[63878] Master/texmf-dist: biblatex (12jul22)

commits+karl at tug.org commits+karl at tug.org
Tue Jul 12 21:50:01 CEST 2022


Revision: 63878
          http://tug.org/svn/texlive?view=revision&revision=63878
Author:   karl
Date:     2022-07-12 21:50:00 +0200 (Tue, 12 Jul 2022)
Log Message:
-----------
biblatex (12jul22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/biblatex/CHANGES.md
    trunk/Master/texmf-dist/doc/latex/biblatex/biblatex.pdf
    trunk/Master/texmf-dist/doc/latex/biblatex/biblatex.tex
    trunk/Master/texmf-dist/tex/latex/biblatex/biblatex.sty

Modified: trunk/Master/texmf-dist/doc/latex/biblatex/CHANGES.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex/CHANGES.md	2022-07-11 23:47:45 UTC (rev 63877)
+++ trunk/Master/texmf-dist/doc/latex/biblatex/CHANGES.md	2022-07-12 19:50:00 UTC (rev 63878)
@@ -1,6 +1,10 @@
+# RELEASE NOTES FOR VERSION 3.18b
+- Reenable `\MakeUppercase`/`\MakeLowercase` "patches" for `\bibstring`
+  based on `\CaseSwitch`.
+
 # RELEASE NOTES FOR VERSION 3.18a
 - Disable `\MakeUppercase`/`\MakeLowercase` patches as emergency fix
-  for LaTeX 2022-06-01-PL compatibility.
+  for LaTeX 2022-06-01-PL4 compatibility.
 
 # RELEASE NOTES FOR VERSION 3.18
 - New sorting name key generation macro `\visibility` which allows

Modified: trunk/Master/texmf-dist/doc/latex/biblatex/biblatex.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/biblatex/biblatex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex/biblatex.tex	2022-07-11 23:47:45 UTC (rev 63877)
+++ trunk/Master/texmf-dist/doc/latex/biblatex/biblatex.tex	2022-07-12 19:50:00 UTC (rev 63878)
@@ -68,7 +68,7 @@
   url={\biblatexhome},
   author={Philip Kime, Moritz Wemheuer, Philipp Lehman},
   email={},
-  revision={3.18a},
+  revision={3.18b},
   date={\today}}
 
 \hypersetup{%
@@ -8545,7 +8545,7 @@
 }
 \end{ltxexample}
 %
-Here, we use multiple match/replace for the same field to regularise some inconstant name variants. Bear in mind that \cmd{step} processing within a \opt{map} element is sequential and so the changes from a previous \cmd{step}s are already committed. Note that we don't need the \cmd{regexp} macro to protect the regular expressions in this example as they contain no characters which need special escaping. Please note that due to the difficulty of protecting regular expressions in \LaTeX, there should be no literal spaces in the argument to \cmd{regexp}. Please use escape code equivalents if spaces are needed. For example, this example, if using \cmd{regexp}, should be:
+Here, we use multiple match/replace for the same field to regularise some inconstant name variants. Bear in mind that \cmd{step} processing within a \opt{map} element is sequential and so the changes from a previous \cmd{step}s are already committed. Note that we don't need the \cmd{regexp} macro to protect the regular expressions in this example as they contain no characters which need special escaping. Please note that due to the difficulty of protecting regular expressions in \latex, there should be no literal spaces in the argument to \cmd{regexp}. Please use escape code equivalents if spaces are needed. For example, this example, if using \cmd{regexp}, should be:
 %
 \begin{ltxexample}
 \DeclareSourcemap{
@@ -14858,9 +14858,13 @@
 This revision history is a list of changes relevant to users of this package. Changes of a more technical nature which do not affect the user interface or the behavior of the package are not included in the list. More technical details are to be found in the \file{CHANGES.md} file. The numbers on the right indicate the relevant section of this manual.
 
 \begin{changelog}
+\begin{release}{3.18b}{2022-07-12}
+\item Reenable \cmd{MakeUppercase}/\cmd{MakeLowercase} <patches>
+      based on \cmd{CaseSwitch}
+\end{release}
 \begin{release}{3.18a}{2022-07-02}
 \item Disable \cmd{MakeUppercase}/\cmd{MakeLowercase} patches as emergency
-      fix for LaTeX 2022-06-01-PL compatibility.
+      fix for \latex 2022-06-01-PL4 compatibility.
 \end{release}
 \begin{release}{3.18}{2022-06-22}
 \item Added sorting option \cmd{intciteorder}\see{aut:ctm:srt}

Modified: trunk/Master/texmf-dist/tex/latex/biblatex/biblatex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex/biblatex.sty	2022-07-11 23:47:45 UTC (rev 63877)
+++ trunk/Master/texmf-dist/tex/latex/biblatex/biblatex.sty	2022-07-12 19:50:00 UTC (rev 63878)
@@ -12,8 +12,8 @@
 % particular purpose.
 
 % Set up the version strings here
-\def\abx at date{2022/07/02}
-\def\abx at version{3.18a}
+\def\abx at date{2022/07/12}
+\def\abx at version{3.18b}
 \def\abx at bbxid{\abx at date\space v\abx at version\space biblatex bibliography style (PK/MW)}
 \def\abx at cbxid{\abx at date\space v\abx at version\space biblatex citation style (PK/MW)}
 \def\abx at lbxid{\abx at date\space v\abx at version\space biblatex localization (PK/MW)}
@@ -5052,74 +5052,148 @@
   \ifbibstring \ifbibxstring \iffieldbibstring
   \iffieldplusstringbibstring}
 
-\let\blx at hook@uc\relax
-\let\blx at hook@lc\relax
-
-\iffalse
-% disable this as emergency "fix"
-% for LaTeX 2022-06-01-PL4
-\AtEndPreamble{%
-  \toggletrue{blx at tempa}%
-  \toggletrue{blx at tempb}%
-  \expandafter\patchcmd\csname MakeUppercase \endcsname
-    {\protected at edef}
-    {\blx at hook@uc\protected at edef}
-    {\togglefalse{blx at tempa}}
-    {}%
-  \expandafter\patchcmd\csname MakeLowercase \endcsname
-    {\protected at edef}
-    {\blx at hook@lc\protected at edef}
-    {\togglefalse{blx at tempb}}
-    {}%
-  \@ifpackageloaded{textcase}
-    {\expandafter\patchcmd\csname MakeUppercase \endcsname
-       {\def\i}
-       {\blx at hook@uc\def\i}
+% \DeclareCaseChangeEquivalent is available in
+% LaTeX 2022-06-01-PL5
+% the older code works-ish for LaTeX before 2022-06-01
+% it errors with 2022-06-01-PL4
+% but we'll not guard against this specific PL
+\ifundef\DeclareCaseChangeEquivalent
+  {\let\blx at hook@uc\relax
+   \let\blx at hook@lc\relax
+   %
+   \AtEndPreamble{%
+     \toggletrue{blx at tempa}%
+     \toggletrue{blx at tempb}%
+     \expandafter\patchcmd\csname MakeUppercase \endcsname
+       {\protected at edef}
+       {\blx at hook@uc\protected at edef}
        {\togglefalse{blx at tempa}}
        {}%
      \expandafter\patchcmd\csname MakeLowercase \endcsname
-       {\@uclcnotmath{}}
-       {\@uclcnotmath{\blx at hook@lc}}
+       {\protected at edef}
+       {\blx at hook@lc\protected at edef}
        {\togglefalse{blx at tempb}}
        {}%
-     \expandafter\patchcmd\csname MakeTextUppercase \endcsname
-       {\def\i}
-       {\blx at hook@uc\def\i}
-       {}
+     \@ifpackageloaded{textcase}
+       {\expandafter\patchcmd\csname MakeUppercase \endcsname
+          {\def\i}
+          {\blx at hook@uc\def\i}
+          {\togglefalse{blx at tempa}}
+          {}%
+        \expandafter\patchcmd\csname MakeLowercase \endcsname
+          {\@uclcnotmath{}}
+          {\@uclcnotmath{\blx at hook@lc}}
+          {\togglefalse{blx at tempb}}
+          {}%
+        \expandafter\patchcmd\csname MakeTextUppercase \endcsname
+          {\def\i}
+          {\blx at hook@uc\def\i}
+          {}
+          {}%
+        \expandafter\patchcmd\csname MakeTextLowercase \endcsname
+          {\@uclcnotmath{}}
+          {\@uclcnotmath{\blx at hook@lc}}
+          {}
+          {}}
        {}%
-     \expandafter\patchcmd\csname MakeTextLowercase \endcsname
-       {\@uclcnotmath{}}
-       {\@uclcnotmath{\blx at hook@lc}}
-       {}
-       {}}
-    {}%
-  \iftoggle{blx at tempa}{\blx at err@patch{\string\MakeUppercase}}{}%
-  \iftoggle{blx at tempb}{\blx at err@patch{\string\MakeLowercase}}{}%
-}
-\fi
+     \iftoggle{blx at tempa}{\blx at err@patch{\string\MakeUppercase}}{}%
+     \iftoggle{blx at tempb}{\blx at err@patch{\string\MakeLowercase}}{}%
+   }
+   %
+   \appto\blx at blxinit{%
+     \def\blx at hook@uc{%
+       \def\bibstring{\blx at imc@bibucstring}%
+       \def\biblstring{\blx at imc@bibuclstring}%
+       \def\bibsstring{\blx at imc@bibucsstring}%
+       \def\biblcstring{\blx at imc@bibucstring}%
+       \def\biblclstring{\blx at imc@bibuclstring}%
+       \def\biblcsstring{\blx at imc@bibucsstring}%
+       \def\bibcpstring{\blx at imc@bibucstring}%
+       \def\bibcplstring{\blx at imc@bibuclstring}%
+       \def\bibcpsstring{\blx at imc@bibucsstring}}%
+     \def\blx at hook@lc{%
+       \def\bibstring{\blx at imc@biblcstring}%
+       \def\biblstring{\blx at imc@biblclstring}%
+       \def\bibsstring{\blx at imc@biblcsstring}%
+       \def\bibucstring{\blx at imc@biblcstring}%
+       \def\bibuclstring{\blx at imc@biblclstring}%
+       \def\bibucsstring{\blx at imc@biblcsstring}%
+       \def\bibcpstring{\blx at imc@biblcstring}%
+       \def\bibcplstring{\blx at imc@biblclstring}%
+       \def\bibcpsstring{\blx at imc@biblcsstring}}}}
+  {\DeclareCaseChangeEquivalent{\bibstring}{%
+     \CaseSwitch
+       {\blx at imc@bibstring}
+       {\blx at imc@bibucstring}
+       {\blx at imc@biblcstring}
+       {\blx at imc@bibcpstring}}
+   \DeclareCaseChangeEquivalent{\biblstring}{%
+     \CaseSwitch
+       {\blx at imc@biblstring}
+       {\blx at imc@bibuclstring}
+       {\blx at imc@biblclstring}
+       {\blx at imc@bibcplstring}}
+   \DeclareCaseChangeEquivalent{\bibsstring}{%
+     \CaseSwitch
+       {\blx at imc@bibsstring}
+       {\blx at imc@bibucsstring}
+       {\blx at imc@biblcsstring}
+       {\blx at imc@bibcpsstring}}
+   \DeclareCaseChangeEquivalent{\biblcstring}{%
+     \CaseSwitch
+       {\blx at imc@bibstring}
+       {\blx at imc@bibucstring}
+       {\blx at imc@biblcstring}
+       {\blx at imc@bibcpstring}}
+   \DeclareCaseChangeEquivalent{\biblclstring}{%
+     \CaseSwitch
+       {\blx at imc@biblstring}
+       {\blx at imc@bibuclstring}
+       {\blx at imc@biblclstring}
+       {\blx at imc@bibcplstring}}
+   \DeclareCaseChangeEquivalent{\biblcsstring}{%
+     \CaseSwitch
+       {\blx at imc@bibsstring}
+       {\blx at imc@bibucsstring}
+       {\blx at imc@biblcsstring}
+       {\blx at imc@bibcpsstring}}
+   \DeclareCaseChangeEquivalent{\bibucstring}{%
+     \CaseSwitch
+       {\blx at imc@bibstring}
+       {\blx at imc@bibucstring}
+       {\blx at imc@biblcstring}
+       {\blx at imc@bibcpstring}}
+   \DeclareCaseChangeEquivalent{\bibuclstring}{%
+     \CaseSwitch
+       {\blx at imc@biblstring}
+       {\blx at imc@bibuclstring}
+       {\blx at imc@biblclstring}
+       {\blx at imc@bibcplstring}}
+   \DeclareCaseChangeEquivalent{\bibucsstring}{%
+     \CaseSwitch
+       {\blx at imc@bibsstring}
+       {\blx at imc@bibucsstring}
+       {\blx at imc@biblcsstring}
+       {\blx at imc@bibcpsstring}}
+   \DeclareCaseChangeEquivalent{\bibcpstring}{%
+     \CaseSwitch
+       {\blx at imc@bibstring}
+       {\blx at imc@bibucstring}
+       {\blx at imc@biblcstring}
+       {\blx at imc@bibcpstring}}
+   \DeclareCaseChangeEquivalent{\bibcplstring}{%
+     \CaseSwitch
+       {\blx at imc@biblstring}
+       {\blx at imc@bibuclstring}
+       {\blx at imc@biblclstring}
+       {\blx at imc@bibcplstring}}
+   \DeclareCaseChangeEquivalent{\bibcpsstring}{%
+     \CaseSwitch
+       {\blx at imc@bibsstring}
+       {\blx at imc@bibucsstring}
+       {\blx at imc@biblcsstring}
+       {\blx at imc@bibcpsstring}}}
 
-\appto\blx at blxinit{%
-  \def\blx at hook@uc{%
-    \def\bibstring{\blx at imc@bibucstring}%
-    \def\biblstring{\blx at imc@bibuclstring}%
-    \def\bibsstring{\blx at imc@bibucsstring}%
-    \def\biblcstring{\blx at imc@bibucstring}%
-    \def\biblclstring{\blx at imc@bibuclstring}%
-    \def\biblcsstring{\blx at imc@bibucsstring}%
-    \def\bibcpstring{\blx at imc@bibucstring}%
-    \def\bibcplstring{\blx at imc@bibuclstring}%
-    \def\bibcpsstring{\blx at imc@bibucsstring}}%
-  \def\blx at hook@lc{%
-    \def\bibstring{\blx at imc@biblcstring}%
-    \def\biblstring{\blx at imc@biblclstring}%
-    \def\bibsstring{\blx at imc@biblcsstring}%
-    \def\bibucstring{\blx at imc@biblcstring}%
-    \def\bibuclstring{\blx at imc@biblclstring}%
-    \def\bibucsstring{\blx at imc@biblcsstring}%
-    \def\bibcpstring{\blx at imc@biblcstring}%
-    \def\bibcplstring{\blx at imc@biblclstring}%
-    \def\bibcpsstring{\blx at imc@biblcsstring}}}
-
 \def\abx at dostrings{%
   \do{bibliography}%
   \do{references}%



More information about the tex-live-commits mailing list.