[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: dropped first aid for CJK (94cdc92f)

Frank Mittelbach frank.mittelbach at latex-project.org
Fri Oct 22 09:52:22 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/94cdc92f6c8c2c991468dc5f1e5980c1126e0543

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

commit 94cdc92f6c8c2c991468dc5f1e5980c1126e0543
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Fri Oct 22 09:52:22 2021 +0200

    dropped first aid for CJK


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

94cdc92f6c8c2c991468dc5f1e5980c1126e0543
 required/firstaid/changes.txt                      |  5 +++
 .../latex2e-first-aid-for-external-files.dtx       | 37 ++++++++++++----------
 2 files changed, 25 insertions(+), 17 deletions(-)

diff --git a/required/firstaid/changes.txt b/required/firstaid/changes.txt
index f84c9dbc..595c7505 100644
--- a/required/firstaid/changes.txt
+++ b/required/firstaid/changes.txt
@@ -1,3 +1,8 @@
+2021-10-22  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* latex2e-first-aid-for-external-files.dtx (subsection{The \pkg{CJK} package first aid}):
+	With its 2021/10/26 release the firstaid for CJK is no longer needed.
+
 2021-06-28  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
 	* latex2e-first-aid-for-external-files.dtx:
diff --git a/required/firstaid/latex2e-first-aid-for-external-files.dtx b/required/firstaid/latex2e-first-aid-for-external-files.dtx
index 702dca02..93d79140 100644
--- a/required/firstaid/latex2e-first-aid-for-external-files.dtx
+++ b/required/firstaid/latex2e-first-aid-for-external-files.dtx
@@ -111,8 +111,8 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\def\LaTeXFirstAidDate{2021/06/28}
-\def\LaTeXFirstAidVersion{v1.0o}
+\def\LaTeXFirstAidDate{2021/10/22}
+\def\LaTeXFirstAidVersion{v1.0p}
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -469,28 +469,31 @@
 %    loaded. The extra code that the package needs can go into the
 %    newly provided hook instead.
 %
+%    With its 2021/10/26 update this is fixed in the CJK package and
+%    the firstaid below no longer applied. With the next release it will
+%    therefore  be dropped.
 %    \begin{macrocode}
-\DeclareCommandCopy\CJK at selectfont\selectfont
+%\DeclareCommandCopy\CJK at selectfont\selectfont
 %    \end{macrocode}
 %    
 %    \begin{macrocode}
-\AddToHook{file/CJK.sty/after}[firstaid]{%
-  \FirstAidNeededT{CJK}{sty}%
-                  {2015/04/18 4.8.4}%
-  {%
-    \DeclareCommandCopy\selectfont\CJK at selectfont
+%\AddToHook{file/CJK.sty/after}[firstaid]{%
+%  \FirstAidNeededT{CJK}{sty}%
+%                  {2015/04/18 4.8.4}%
+%  {%
+%    \DeclareCommandCopy\selectfont\CJK at selectfont
 %    \end{macrocode}
 %    
 %    \begin{macrocode}
-    \AddToHook{selectfont}[CJK]{%
-        \expandafter\ifx\csname CJK@\curr at fontshape\endcsname \relax
-        \else
-          \CJK at bold@false
-          \csname CJK@\curr at fontshape\endcsname
-          \fi
-    }%
-  }%
-}
+%    \AddToHook{selectfont}[CJK]{%
+%        \expandafter\ifx\csname CJK@\curr at fontshape\endcsname \relax
+%        \else
+%          \CJK at bold@false
+%          \csname CJK@\curr at fontshape\endcsname
+%          \fi
+%    }%
+%  }%
+%}
 %    \end{macrocode}
 %
 %





More information about the latex3-commits mailing list.