diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/scrhack.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/koma-script/scrhack.dtx | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/scrhack.dtx b/Master/texmf-dist/source/latex/koma-script/scrhack.dtx index 13460cd2ead..b5403731117 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrhack.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrhack.dtx @@ -1,8 +1,8 @@ -% \CheckSum{814} +% \CheckSum{827} % \iffalse meta-comment % ====================================================================== % scrhack.dtx -% Copyright (c) Markus Kohm, 2008-2015 +% Copyright (c) Markus Kohm, 2008-2016 % % This file is part of the LaTeX2e KOMA-Script bundle. % @@ -23,7 +23,7 @@ % of TeX would generate the implementation documentation. % ---------------------------------------------------------------------- % scrhack.dtx -% Copyright (c) Markus Kohm, 2008-2015 +% Copyright (c) Markus Kohm, 2008-2016 % % Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz, % Version 1.3c, verteilt und/oder veraendert werden. @@ -62,7 +62,7 @@ % Right brace \} Tilde \~} % % \iffalse -%%% From File: $Id: scrhack.dtx 2175 2015-08-11 15:51:46Z kohm $ +%%% From File: $Id: scrhack.dtx 2451 2016-05-07 18:11:55Z kohm $ %<package&identify>%%% using: package,identify %<package&option>%%% using: package,option %<package&body>%%% using: package,body @@ -478,7 +478,14 @@ the expected effect. \expandafter\ifx\csname ver@#2.#1\endcsname\relax \expandafter\@secondoftwo \else - \expandafter\@firstoftwo +% \end{macrocode} +% Allerdings wird jeder Hack nur genau einmal geladen: +% \begin{macrocode} + \expandafter\ifx\csname ver@#2.hak\endcsname\relax + \expandafter\expandafter\expandafter\@firstoftwo + \else + \expandafter\expandafter\expandafter\@secondoftwo + \fi \fi {% \PackageInfo{scrhack}{loading #2 hack}% @@ -1217,8 +1224,11 @@ the expected effect. % % \begin{option}{lscape} % \changes{v3.18a}{2015/07/07}{Neue Option für neuen Hack}^^A +% \changes{v3.20}{2016/05/07}{\textsf{xpatch} wird bereits im Optionenteil +% geladen}^^A % \begin{macrocode} %<*package&option> +\RequirePackage{xpatch}% \KOMA@ifkey{lscape}{@scrhack@lscape}% \KOMAExecuteOptions{lscape=true}% %</package&option> @@ -1237,6 +1247,8 @@ the expected effect. % % \begin{macro}{\landscape} % \changes{v3.18a}{2015/07/07}{Neu}^^A +% \changes{v3.20}{2016/05/07}{\textsf{xpatch} wird bereits im Optionenteil +% geladen}^^A % Über diese Anweisung wird die \texttt{landscape}-Umgebung von % \textsf{lscape} gestartet. Genau diese muss gepatcht werden. Dafür wird das % Paket \textsf{xpatch} benötigt. Da der Patch nur geladen wird, wenn die @@ -1244,7 +1256,6 @@ the expected effect. % werden, wenn sie bis zum Laden des Pakets aktiviert wurde. % \begin{macrocode} %<*lscape&body> -\RequirePackage{xpatch} \xpatchcmd{\landscape}{\textheight=\vsize}{% \if@scrhack@lscape % \end{macrocode} @@ -1301,7 +1312,7 @@ the expected effect. %%% mode: flyspell %%% coding: iso-latin-1 %%% ispell-local-dictionary: "en_GB" -%%% TeX-master: +%%% TeX-master: t %%% End: % LocalWords: eineinhalbzeilige |