[latex3-commits] [git/LaTeX3-latex3-hyperref] cleanup-patches: remove old code for KOMA before 2001 (93fa9e2)
Ulrike Fischer
fischer at troubleshooting-tex.de
Sun May 1 19:31:18 CEST 2022
Repository : https://github.com/latex3/hyperref
On branch : cleanup-patches
Link : https://github.com/latex3/hyperref/commit/93fa9e2eea5bf6df41744098d06d487ed24ed0b9
>---------------------------------------------------------------
commit 93fa9e2eea5bf6df41744098d06d487ed24ed0b9
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sun May 1 19:31:18 2022 +0200
remove old code for KOMA before 2001
>---------------------------------------------------------------
93fa9e2eea5bf6df41744098d06d487ed24ed0b9
ChangeLog.txt | 2 ++
hyperref.dtx | 55 -------------------------------------------------------
2 files changed, 2 insertions(+), 55 deletions(-)
diff --git a/ChangeLog.txt b/ChangeLog.txt
index d094ccf..f3d601e 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,5 +1,7 @@
XXXX-XX-XX Ulrike Fischer/David Carlisle
+ * removed an old patch for KOMA before 2001
+ * removed compability code for pdftex 1.14
* remove a test for amsmath before 1999
* removed an since 2002 unneeded definition for subfigure
* various patches in nameref can now be disabled by package authors
diff --git a/hyperref.dtx b/hyperref.dtx
index 6bb7f41..02b0fe4 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -19876,61 +19876,6 @@
%</outlines>
% \end{macrocode}
%
-% \section{Compatibility with koma-script classes}
-%
-% \begin{macrocode}
-%<*outlines|hypertex>
-% \end{macrocode}
-%
-% Hard-wire in an unpleasant over-ride of komascript `scrbook' class
-% for Tobias Isenberg (\Email{Tobias.Isenberg at gmx.de}).
-% With version 6.71b the hack is also applied to `scrreprt' class
-% and is removed for koma-script versions since 2001/01/01,
-% because Markus Kohm supports hyperref in komascript.
-% \begin{macrocode}
-\def\Hy at tempa{%
- \def\@addchap[##1]##2{%
- \typeout{##2}%
- \if at twoside
- \@mkboth{##1}{}%
- \else
- \@mkboth{}{##1}%
- \fi
- \addtocontents{lof}{\protect\addvspace{10\p@}}%
- \addtocontents{lot}{\protect\addvspace{10\p@}}%
- \Hy at MakeCurrentHrefAuto{\Hy at chapapp*}%
- \Hy at raisedlink{%
- \hyper at anchorstart{\@currentHref}\hyper at anchorend
- }%
- \if at twocolumn
- \@topnewpage[\@makeschapterhead{##2}]%
- \else
- \@makeschapterhead{##2}%
- \@afterheading
- \fi
- \addcontentsline{toc}{chapter}{##1}%
- }%
-}
-\@ifclassloaded{scrbook}{%
- \@ifclasslater{scrbook}{2001/01/01}{%
- \let\Hy at tempa\@empty
- }{}%
-}{%
- \@ifclassloaded{scrreprt}{%
- \@ifclasslater{scrreprt}{2001/01/01}{%
- \let\Hy at tempa\@empty
- }{}%
- }{%
- \let\Hy at tempa\@empty
- }%
-}%
-\Hy at tempa
-% \end{macrocode}
-%
-% \begin{macrocode}
-%</outlines|hypertex>
-% \end{macrocode}
-%
% \section{Encoding definition files for encodings of PDF strings}
% This was contributed by
% Heiko Oberdiek.
More information about the latex3-commits
mailing list.