Current File : //usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile.sty |
%%
%% This is file `scrlfile.sty',
%% generated with the docstrip utility, extended by scrdocstrip.
%%
%% The original source files were:
%%
%% scrlfile.dtx (with options: `package')
%%
%% Copyright (c) 2002-2019 Markus Kohm [komascript at gmx info]
%%
%% This file was generated from file(s) of the KOMA-Script bundle.
%% ---------------------------------------------------------------
%%
%% It may be distributed under the conditions of the
%% LaTeX Project Public License in the version distributed together
%% with KOMA-Script, see file `lppl.txt' or `lppl-de.txt'.
%%
%% This file may only be distributed together with a copy of the
%% KOMA-Script bundle. You may however distribute the
%% KOMA-Script bundle without all such generated files. See also
%% `lppl.txt' or `lppl-de.txt' for additional information.
%%
%% The list of files belonging to KOMA-Script distribution is given in
%% the file `manifest.txt'. See also `lppl.txt' or `lppl-de.txt' for
%% additional information.
%%
%% If this file is a beta version, you may not be allowed to distribute
%% it. Look at the comments below to see if this is the case.
%%
%% English and German manuals are part of KOMA-Script bundle.
%% ----------------------------------------------------------
%%
%% See `README'.
%%
%% The KOMA-Script bundle (but maybe not this file) was based upon the
%% LaTeX 2.09 Script family created by Frank Neukam 1993 and the LaTeX2e
%% standard classes created by The LaTeX3 Project 1994-1996. You can
%% find a complete unmodified copy of LaTeX2e at
%% <http://mirror.ctan.org/tex-archive/macros/latex/base/>.
%%
%%% From File: $Id: scrlfile.dtx 3565 2021-02-16 10:43:38Z kohm $
\ProvidesPackage{scrlfile}[%
2021/03/17 v3.33 KOMA-Script
package
(file load hooks)]
\@ifundefined{IfFormatAtLeastTF}{%
\RequirePackage{scrlfile-patcholdlatex}%
\RequirePackage{xparse}%
\ExplSyntaxOff
}{%
\IfFormatAtLeastTF{2020/10/01}{%
\RequirePackage{scrlfile-hook}%
}{%
\RequirePackage{scrlfile-patcholdlatex}%
\RequirePackage{xparse}%
\ExplSyntaxOff
}%
}
\DeclareOption{withdeprecated}{%
\RenewDocumentCommand\AfterClass{}{%
\kernel@ifnextchar +%
{\scrlfile@emulatedeprecated{Class}}%
{%
\kernel@ifnextchar !%
{\scrlfile@emulatedeprecated{Class}}%
\scrlfile@AfterClass
}%
}
\RenewDocumentCommand\AfterPackage{}{%
\kernel@ifnextchar +%
{\scrlfile@emulatedeprecated{Package}}%
{%
\kernel@ifnextchar !%
{\scrlfile@emulatedeprecated{Package}}%
\scrlfile@AfterPackage
}%
}
\newcommand*{\scrlfile@emulatedeprecated}[2]{%
\PackageWarning{scrlfile}{%
emulating deprecated \expandafter\string\csname After#1#2\endcsname
\space by\MessageBreak
\expandafter\string\csname AfterAtEndOf#1*\endcsname.\MessageBreak
Note, this may fail, so you should not use\MessageBreak
\expandafter\string\csname After#1#2\endcsname
}%
\csname AfterAtEndOf#1\endcsname*%
}
}
\ExecuteOptions{}
\ProcessOptions\relax
\RequirePackage{scrlogo}
\endinput
%%
%% End of file `scrlfile.sty'.