diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/scrkernel-sections.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/koma-script/scrkernel-sections.dtx | 43 |
1 files changed, 33 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-sections.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-sections.dtx index fafd67207d7..ab6314b2908 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrkernel-sections.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-sections.dtx @@ -1,8 +1,8 @@ -% \CheckSum{4507} +% \CheckSum{4526} % \iffalse meta-comment % ====================================================================== % scrkernel-sections.dtx -% Copyright (c) Markus Kohm, 2002-2018 +% Copyright (c) Markus Kohm, 2002-2019 % % This file is part of the LaTeX2e KOMA-Script bundle. % @@ -20,7 +20,7 @@ % This work consists of all files listed in manifest.txt. % ---------------------------------------------------------------------- % scrkernel-sections.dtx -% Copyright (c) Markus Kohm, 2002-2018 +% Copyright (c) Markus Kohm, 2002-2019 % % Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz, % Version 1.3c, verteilt und/oder veraendert werden. @@ -55,7 +55,7 @@ % Right brace \} Tilde \~} % % \iffalse -%%% From File: $Id: scrkernel-sections.dtx 3038 2018-10-14 18:31:51Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 3063 2019-02-01 07:39:11Z kohm $ % The runs of run-time file generation: %<preidentify>%%% (run: preidentify) % - everything that is needed before selfidentification of resulting files @@ -78,9 +78,9 @@ \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \begingroup \def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} - \filedate$Date: 2018-10-14 20:31:51 +0200 (Sun, 14 Oct 2018) $ + \filedate$Date: 2019-02-01 08:39:11 +0100 (Fri, 01 Feb 2019) $ \def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} - \filerevision$Revision: 3038 $ + \filerevision$Revision: 3063 $ \edef\reserved@a{% \noexpand\endgroup \noexpand\ProvidesFile{scrkernel-sections.dtx}% @@ -2855,14 +2855,14 @@ % \begin{option}{bookmarkpackage} % \selectlanguage{english}^^A % \changes{v3.26}{2018/06/27}{new option}^^A -% Package \textsl{hyperref} has problems with bookmark level gaps. So if +% Package \textsf{hyperref} has problems with bookmark level gaps. So if % either the users omits a heading level or defines a heading with a level % that distinguish more than one from the previous or following level, there % would be a problem. One recommended solution for this would be to use -% package \textsl{bookmark}. So if we load this package, we can use the same +% package \textsf{bookmark}. So if we load this package, we can use the same % value for bookmark levels and TOC levels even within -% \textsl{scrartcl}. Nevertheless we allow the user to decide not to use -% \textsl{bookmark}, but then it is not my fault, if something strange +% \textsf{scrartcl}. Nevertheless we allow the user to decide not to use +% \textsf{bookmark}, but then it is not my fault, if something strange % happens. % \begin{macrocode} %<*option> @@ -2887,6 +2887,29 @@ before \string\begin{document}% }% \RequirePackage{bookmark}% +% \end{macrocode} +% \changes{v3.26b}{2019/01/17}{workaround for \cs{@beginmainauxhook} added}^^A +% Sometimes \textsf{auxhook} is not able to recognize that it cannot use a +% patch of \cs{document} to execute \cs{@beginmainauxhook} if it is loaded via +% \cs{AtBeginDocument}. In this case we do it here. +% \begin{macrocode} + \ifx\@beginmainauxhook\relax + \else + \if@filesw + \ClassWarning{\KOMAClassName}{% + seems someone has broken package auxhook.\MessageBreak + Usually this happens, if auxhook is loaded or used\MessageBreak + implicitly or explicitly by patching + `\string\document'% + \scr@ifundefinedorrelax{AtEndPreamble}{}{% + \MessageBreak + or via etoolbox command \string\AtEndPreamble + }.\MessageBreak + Trying an emergency workaround% + }% + \@beginmainauxhook + \fi + \fi \fi }% }% |