summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/koma-script/scrlfile-patcholdlatex.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/scrlfile-patcholdlatex.sty')
-rw-r--r--Master/texmf-dist/tex/latex/koma-script/scrlfile-patcholdlatex.sty18
1 files changed, 16 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/scrlfile-patcholdlatex.sty b/Master/texmf-dist/tex/latex/koma-script/scrlfile-patcholdlatex.sty
index c32135a9d95..d76457b66cc 100644
--- a/Master/texmf-dist/tex/latex/koma-script/scrlfile-patcholdlatex.sty
+++ b/Master/texmf-dist/tex/latex/koma-script/scrlfile-patcholdlatex.sty
@@ -38,11 +38,25 @@
%% find a complete unmodified copy of LaTeX2e at
%% <http://mirror.ctan.org/tex-archive/macros/latex/base/>.
%%
-%%% From File: $Id: scrlfile-patcholdlatex.dtx 3527 2020-09-11 09:44:32Z kohm $
+%%% From File: $Id: scrlfile-patcholdlatex.dtx 3593 2021-04-21 10:11:38Z kohm $
\ProvidesPackage{scrlfile-patcholdlatex}[%
- 2021/03/17 v3.33 KOMA-Script
+ 2021/06/25 v3.34 KOMA-Script
package
(patching old LaTeX kernels)]
+\@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
+ package\MessageBreak
+ scrlfile instead of scrlfile-patcholdlatex.\MessageBreak
+ If you would continue, I will try to load scrlfile-hook%
+ }%
+ \RequirePackage{scrlfile-hook}%
+ \endinput
+ }{}%
+}
\@ifclassloaded{memoir}{%
\PackageInfo{scrlfile}{class `memoir' detected.\MessageBreak
Using a compatible redefinition of \string\InputIfFileExists,\MessageBreak