summaryrefslogtreecommitdiff
path: root/macros/latex-dev/required/firstaid/latex2e-first-aid-for-external-files.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex-dev/required/firstaid/latex2e-first-aid-for-external-files.dtx')
-rw-r--r--macros/latex-dev/required/firstaid/latex2e-first-aid-for-external-files.dtx92
1 files changed, 2 insertions, 90 deletions
diff --git a/macros/latex-dev/required/firstaid/latex2e-first-aid-for-external-files.dtx b/macros/latex-dev/required/firstaid/latex2e-first-aid-for-external-files.dtx
index 702dca0229..fb8d340137 100644
--- a/macros/latex-dev/required/firstaid/latex2e-first-aid-for-external-files.dtx
+++ b/macros/latex-dev/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/11/11}
+\def\LaTeXFirstAidVersion{v1.0q}
% \end{macrocode}
%
% \begin{macrocode}
@@ -455,69 +455,10 @@
%
%
%
-%
-%
-% \subsection{The \pkg{CJK} package first aid}
-%
% \begin{macrocode}
%<*kernel>
% \end{macrocode}
%
-% The package redefines \cs{selectfont} to add some code but
-% otherwise uses the old definition. So we make a copy of the
-% newer kernel definition and restore it after the package got
-% loaded. The extra code that the package needs can go into the
-% newly provided hook instead.
-%
-% \begin{macrocode}
-\DeclareCommandCopy\CJK@selectfont\selectfont
-% \end{macrocode}
-%
-% \begin{macrocode}
-\AddToHook{file/CJK.sty/after}[firstaid]{%
- \FirstAidNeededT{CJK}{sty}%
- {2015/04/18 4.8.4}%
- {%
- \DeclareCommandCopy\selectfont\CJK@selectfont
-% \end{macrocode}
-%
-% \begin{macrocode}
- \AddToHook{selectfont}[CJK]{%
- \expandafter\ifx\csname CJK@\curr@fontshape\endcsname \relax
- \else
- \CJK@bold@false
- \csname CJK@\curr@fontshape\endcsname
- \fi
- }%
- }%
-}
-% \end{macrocode}
-%
-%
-%
-% \subsection{\cs{footref} first aid}
-%
-% A few classes unconditionally define \cs{footref}. Until that has
-% changed we provide some first aid to let them do this.
-%
-% --- This seems to be resolved now ---
-%
-% \begin{macrocode}
-%\AddToHook{file/scrkbase.sty/after}[firstaid]{%
-% \FirstAidNeededT{scrkbase}{sty}%
-% {2020/09/21 v3.32 KOMA-Script package (KOMA-Script-dependent basics and keyval usage)}%
-% {\let\footref\@undefined}
-% }
-% \end{macrocode}
-%
-% \begin{macrocode}
-%\AddToHook{class/memoir/before}[firstaid]{%
-% % for version {2020/10/04 v3.7n configurable book, report, article document class}%
-% \let\footref\@undefined
-%}
-% \end{macrocode}
-%
-%
%
%
%
@@ -679,35 +620,6 @@
\ExplSyntaxOff
% \end{macrocode}
%
-% The next fixes Github issue 605 (by inserting a \cs{scan\_stop:}
-% before doing the check for hmode).
-% \begin{macrocode}
-\ExplSyntaxOn
-\cs_set_protected:Npn \para_end: {
- \scan_stop:
- \mode_if_horizontal:TF {
- \mode_if_inner:F {
- \tex_unskip:D
- \hook_use:n{para/end}
- \@kernel@after@para@end
- \mode_if_horizontal:TF {
- \if_int_compare:w 0 < \tex_lastnodetype:D
- \tex_kern:D \c_zero_dim
- \fi:
- \tex_par:D
- \hook_use:n{para/after}
- \@kernel@after@para@after
- }
- { \msg_error:nnnn { hooks }{ para-mode }{end}{horizontal} }
- }
- }
- \tex_par:D
-}
-\cs_set_eq:NN \par \para_end:
-\cs_set_eq:NN \@@par \para_end:
-\cs_set_eq:NN \endgraf \para_end:
-\ExplSyntaxOff
-% \end{macrocode}
%
% \begin{macrocode}
%</kernel>