summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/koma-script/scrhack.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-10-13 21:40:52 +0000
committerKarl Berry <karl@freefriends.org>2019-10-13 21:40:52 +0000
commited8702df3768e21a3ef87a2eec9ca8341aad9b7a (patch)
treed2eb8a06d685acdcb364d57efb2334dbd3b2914d /Master/texmf-dist/tex/latex/koma-script/scrhack.sty
parent4b6c2d7660365ff9963bcecf7a802e8060eb1bbc (diff)
koma-script (13oct19)
git-svn-id: svn://tug.org/texlive/trunk@52369 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/scrhack.sty')
-rw-r--r--Master/texmf-dist/tex/latex/koma-script/scrhack.sty28
1 files changed, 18 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/scrhack.sty b/Master/texmf-dist/tex/latex/koma-script/scrhack.sty
index 890ad799052..5af28ed7199 100644
--- a/Master/texmf-dist/tex/latex/koma-script/scrhack.sty
+++ b/Master/texmf-dist/tex/latex/koma-script/scrhack.sty
@@ -11,7 +11,7 @@
%% scrhack.dtx (with options: `package,body')
%% scrlogo.dtx (with options: `logo')
%%
-%% Copyright (c) 2008-2017 Markus Kohm [komascript at gmx info]
+%% Copyright (c) 2008-2019 Markus Kohm [komascript at gmx info]
%%
%% This file was generated from file(s) of the KOMA-Script bundle.
%% ---------------------------------------------------------------
@@ -39,11 +39,11 @@
%%
%% 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 may
+%% 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: scrkernel-version.dtx 3063 2019-02-01 07:39:11Z kohm $
+%%% From File: $Id: scrkernel-version.dtx 3263 2019-10-12 14:50:03Z kohm $
\begingroup
\catcode`\@11\relax
\ifx\KOMAScriptVersion\undefined
@@ -65,22 +65,22 @@
\fi
}
\fi
- \@CheckKOMAScriptVersion{2019/02/01 v3.26b KOMA-Script}%
+ \@CheckKOMAScriptVersion{2019/10/12 v3.27 KOMA-Script}%
\endgroup
\providecommand*{\scr@pkgextension}{\@pkgextension}
\AtBeginDocument{%
\let\scr@pkgextension\@pkgextension
}
-%%% From File: $Id: scrhack.dtx 3063 2019-02-01 07:39:11Z kohm $
+%%% From File: $Id: scrhack.dtx 3262 2019-10-10 08:25:29Z kohm $
%%% using: package,identify
\ProvidesPackage{scrhack}[%
- 2019/02/01 v3.26b KOMA-Script
- package
+ 2019/10/12 v3.27 KOMA-Script
+ package (hacking other packages)%
]
-%%% From File: $Id: scrkernel-basics.dtx 3063 2019-02-01 07:39:11Z kohm $
+%%% From File: $Id: scrkernel-basics.dtx 3262 2019-10-10 08:25:29Z kohm $
%%% (run: load)
\RequirePackage{scrkbase}[\KOMAScriptVersion]
-%%% From File: $Id: scrhack.dtx 3063 2019-02-01 07:39:11Z kohm $
+%%% From File: $Id: scrhack.dtx 3262 2019-10-10 08:25:29Z kohm $
%%% using: package,option
\KOMA@ifkey{hyperref}{@scrhack@hyperref}%
\KOMAExecuteOptions{hyperref=true}%
@@ -98,8 +98,10 @@
\RequirePackage{xpatch}%
\KOMA@ifkey{lscape}{@scrhack@lscape}%
\KOMAExecuteOptions{lscape=true}%
+\KOMA@ifkey{standardsections}{@scrhack@standardsections}
+\KOMAExecuteOptions{standardsections=false}
\KOMAProcessOptions\relax
-%%% From File: $Id: scrhack.dtx 3063 2019-02-01 07:39:11Z kohm $
+%%% From File: $Id: scrhack.dtx 3262 2019-10-10 08:25:29Z kohm $
%%% using: package,body
\newcommand{\scr@ifexpected}[2]{%
\begingroup
@@ -201,6 +203,12 @@
}%
\fi
}
+\AtEndOfPackage{%
+ \if@scrhack@standardsections
+ \PackageInfo{scrhack}{loading standard classes sections hack}%
+ \input{standardsections.hak}%
+ \fi
+}
%%% From File: $Id: scrlogo.dtx 2640 2017-05-08 09:36:55Z kohm $
\@ifundefined{KOMAScript}{%
\DeclareRobustCommand{\KOMAScript}{\textsf{K\kern.05em O\kern.05em%