[latex3-commits] [git/LaTeX3-latex3-hyperref] master: update to match iftex and oberdiek updates (d0e358a)

David Carlisle d.p.carlisle at gmail.com
Wed Nov 6 22:55:34 CET 2019


Repository : https://github.com/latex3/hyperref
On branch  : master
Link       : https://github.com/latex3/hyperref/commit/d0e358a7b0525822598d3fc392c51d9aa7d59f5c

>---------------------------------------------------------------

commit d0e358a7b0525822598d3fc392c51d9aa7d59f5c
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Wed Nov 6 21:55:34 2019 +0000

    update to match iftex and oberdiek updates


>---------------------------------------------------------------

d0e358a7b0525822598d3fc392c51d9aa7d59f5c
 ChangeLog.txt |  4 ++++
 hyperref.dtx  | 26 ++++++--------------------
 2 files changed, 10 insertions(+), 20 deletions(-)

diff --git a/ChangeLog.txt b/ChangeLog.txt
index 80f5a9f..b63f3e5 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,7 @@
+2019-11-06  David Carlisle
+   * don't load hobsub-hyperref,ifpdf,ifluatex,ifxetex,
+     do load new iftex based ifvtex
+
 2019-10-03  David Carlisle
    * xr-hyper update to match xr
 
diff --git a/hyperref.dtx b/hyperref.dtx
index 92a4cad..586b41e 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -49,7 +49,7 @@
 %<puvnenc>\ProvidesFile{puvnenc.def}
 %<puarenc>\ProvidesFile{puarenc.def}
 %<psdextra>\ProvidesFile{psdextra.def}
-%<!none>  [2019/09/28 v7.00a %
+%<!none>  [2019/11/06 v7.00b %
 %<package>  Hypertext links for LaTeX]
 %<nohyperref>  Dummy hyperref (SR)]
 %<driver>  Hyperref documentation driver file]
@@ -90,13 +90,12 @@
 %<psdextra>  Hyperref: Additions to PDF string support]
 %<*driver>
 \documentclass{ltxdoc}
-\usepackage{array}
-\usepackage{ifluatex,ifxetex}
-\ifnum 0\ifluatex 1\else\ifxetex 1\fi\fi=0 %
-  \usepackage[T1]{fontenc}%
+\usepackage{array,iftex}
+\iftutex
+  \usepackage{fontspec}%
   \renewcommand*{\ttdefault}{lmvtt}%
 \else
-  \usepackage{fontspec}%
+  \usepackage[T1]{fontenc}%
   \renewcommand*{\ttdefault}{lmvtt}%
 \fi
 \usepackage[%
@@ -587,20 +586,9 @@
 \Hy at SetCatcodes
 %    \end{macrocode}
 %
-% It needs the December 95 release of \LaTeX, because it uses
-% |\protected at write|, and it defines commands in options; and the page
-% setup internal code changed at that point. It'll probably break
-% with the later releases!
-%
-% Use package |hobsub-hyperref| for faster package loading.
-%    \begin{macrocode}
-\IfFileExists{hobsub-hyperref.sty}{%
-  \RequirePackage{hobsub-hyperref}[2011/01/30]%
-}{}
-%    \end{macrocode}
 %    \begin{macrocode}
 \RequirePackage{ltxcmds}[2010/11/12]
-\RequirePackage{ifpdf}[2006/02/20]
+\RequirePackage{ifvtex}[2019/10/24]
 \RequirePackage{pdftexcmds}[2009/04/10]
 \@ifpackagelater{pdftexcmds}{2010/11/04}{}{%
   \ltx at IfUndefined{pdfdraftmode}{%
@@ -626,8 +614,6 @@
 \RequirePackage{kvsetkeys}[2007/09/29]
 \RequirePackage{kvdefinekeys}[2011/04/07]
 \RequirePackage{pdfescape}[2007/11/11]
-\RequirePackage{ifvtex}
-\RequirePackage{ifxetex}[2006/08/21]
 \RequirePackage{hycolor}
 \RequirePackage{letltxmacro}[2008/06/13]
 \RequirePackage{auxhook}[2009/12/14]





More information about the latex3-commits mailing list