summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/koma-script/source/scrlfile-patcholdlatex.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/koma-script/source/scrlfile-patcholdlatex.dtx')
-rw-r--r--macros/latex/contrib/koma-script/source/scrlfile-patcholdlatex.dtx17
1 files changed, 12 insertions, 5 deletions
diff --git a/macros/latex/contrib/koma-script/source/scrlfile-patcholdlatex.dtx b/macros/latex/contrib/koma-script/source/scrlfile-patcholdlatex.dtx
index bae36b7a3f..5f5956dc71 100644
--- a/macros/latex/contrib/koma-script/source/scrlfile-patcholdlatex.dtx
+++ b/macros/latex/contrib/koma-script/source/scrlfile-patcholdlatex.dtx
@@ -58,14 +58,14 @@
% Right brace \} Tilde \~}
%
% \iffalse
-%%% From File: $Id: scrlfile-patcholdlatex.dtx 3593 2021-04-21 10:11:38Z kohm $
+%%% From File: $Id: scrlfile-patcholdlatex.dtx 3626 2021-11-01 10:57:06Z kohm $
%<*dtx>
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\begingroup
\def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}}
- \filedate$Date: 2021-04-21 12:11:38 +0200 (Wed, 21 Apr 2021) $
+ \filedate$Date: 2021-11-01 11:57:06 +0100 (Mon, 01 Nov 2021) $
\def\filerevision$#1: #2 ${\gdef\filerevision{r#2}}
- \filerevision$Revision: 3593 $
+ \filerevision$Revision: 3626 $
\edef\reserved@a{%
\noexpand\endgroup
\noexpand\ProvidesFile{scrlfile-patcholdlatex.dtx}%
@@ -142,18 +142,25 @@
% Test whether the used \LaTeX{} is old enough.
% \changes{v3.34}{2021/04/21}{make it more robust agains not recommended
% direct usage}
+% \changes{3.35}{2021/10/31}{\LaTeX{} kernel change results in new variant of
+% \Package{scrfile-hook}}
% \begin{macrocode}
\@ifundefined{IfFormatAtLeastTF}{}{%
\IfFormatAtLeastTF{2020/10/01}{%
\PackageError{scrlfile-hook}{LaTeX too young for this package}{%
It seems this package has been loaded directly using a LaTeX
version\MessageBreak
- 2020-10-01 or newer. This is not recommend. Please always load
+ 2020-10-01 or newer. This is not recommended. Please always load
package\MessageBreak
scrlfile instead of scrlfile-patcholdlatex.\MessageBreak
If you would continue, I will try to load scrlfile-hook%
+ \IfFormatAtLeast{2021/11/15}{}{-3.34}%
+ }%
+ \IfFormatAtLeastTF{2021/11/15}{%
+ \RequirePackage{scrlfile-hook}%
+ }{%
+ \RequirePackage{scrlfile-hook-3.34}%
}%
- \RequirePackage{scrlfile-hook}%
\endinput
}{}%
}