[latex3-commits] [git/LaTeX3-latex3-hyperref] clean-languages: removed old fallback code for pdftexcmds <2010 (de96936)
Ulrike Fischer
fischer at troubleshooting-tex.de
Fri Jul 24 15:39:01 CEST 2020
Repository : https://github.com/latex3/hyperref
On branch : clean-languages
Link : https://github.com/latex3/hyperref/commit/de96936eb406b1931e0a7ab4241feb1e4b152416
>---------------------------------------------------------------
commit de96936eb406b1931e0a7ab4241feb1e4b152416
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Jul 24 15:39:01 2020 +0200
removed old fallback code for pdftexcmds <2010
>---------------------------------------------------------------
de96936eb406b1931e0a7ab4241feb1e4b152416
hyperref.dtx | 37 +++++--------------------------------
1 file changed, 5 insertions(+), 32 deletions(-)
diff --git a/hyperref.dtx b/hyperref.dtx
index 0b42356..61245dd 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -586,28 +586,12 @@
% \begin{macrocode}
\Hy at SetCatcodes
% \end{macrocode}
-%
+% change 2020-07-24: require newer pdftexcmds and remove fallback code
+% for version older than 2010.
% \begin{macrocode}
\RequirePackage{ltxcmds}[2010/11/12]
\RequirePackage{iftex}[2019/10/24]
-\RequirePackage{pdftexcmds}[2009/04/10]
-\@ifpackagelater{pdftexcmds}{2010/11/04}{}{%
- \ltx at IfUndefined{pdfdraftmode}{%
- \let\pdf at ifdraftmode\ltx at secondoftwo
- }{%
- \ifpdf
- \def\pdf at ifdraftmode{%
- \ifnum\pdfdraftmode=\ltx at one
- \expandafter\ltx at firstoftwo
- \else
- \expandafter\ltx at secondoftwo
- \fi
- }%
- \else
- \let\pdf at ifdraftmode\ltx at secondoftwo
- \fi
- }%
-}
+\RequirePackage{pdftexcmds}[2018/09/10]
% \end{macrocode}
% \begin{macrocode}
\RequirePackage{infwarerr}[2010/04/08]
@@ -2306,6 +2290,8 @@
%
% Nothing to do for english.
% change 2020/07/16: removed patch for french. No longer needed.
+% change 2020/07/21: removed patches for german, ngerman. Will be done by
+% the language package. https://github.com/jspitz/babel-german/issues/4
% \begin{macrocode}
\ltx at IfUndefined{danish at sh@"@sel}{}{%
\def\HyPsd at babel@danish{%
@@ -2324,25 +2310,12 @@
\declare at shorthand{finnish}{"|}{}%
}%
}
-\ltx at IfUndefined{german at sh@"@sel}{}{%
- \def\HyPsd at babel@german{%
- \declare at shorthand{german}{"f}{f}%
- \declare at shorthand{german}{"|}{}%
- \declare at shorthand{german}{"~}{-}%
- }%
-}
\ltx at IfUndefined{macedonian at sh@"@sel}{}{%
\def\HyPsd at babel@macedonian{%
\declare at shorthand{macedonian}{"|}{}%
\declare at shorthand{macedonian}{"~}{-}%
}%
}{}
-\ltx at IfUndefined{ngerman at sh@"@sel}{}{%
- \def\HyPsd at babel@ngerman{%
- \declare at shorthand{ngerman}{"|}{}%
- \declare at shorthand{ngerman}{"~}{-}%
- }%
-}
\ltx at IfUndefined{portuges at sh@"@sel}{}{%
\def\HyPsd at babel@portuges{%
\declare at shorthand{portuges}{"|}{}%
More information about the latex3-commits
mailing list.