summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hluatex.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-01-21 21:42:42 +0000
committerKarl Berry <karl@freefriends.org>2020-01-21 21:42:42 +0000
commit7c390d3d29fcbe5f23638ba1a3143e9da3a4b52a (patch)
tree50a74a86e1aec1195a9cf0fc32d894c9f666b6c7 /Master/texmf-dist/tex/latex/hyperref/hluatex.def
parent7062d8632ec7d062d8f94ed590771e4ece15bb04 (diff)
hyperref (21jan20)
git-svn-id: svn://tug.org/texlive/trunk@53481 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hluatex.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hluatex.def43
1 files changed, 25 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hluatex.def b/Master/texmf-dist/tex/latex/hyperref/hluatex.def
index 779b272d6c3..86bc1ee3a85 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hluatex.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hluatex.def
@@ -7,11 +7,12 @@
%% hyperref.dtx (with options: `luatex')
%% hluatex.dtx (with options: `luatex')
%%
-%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz,
-%% with portions written by David Carlisle and Heiko Oberdiek,
-%% 2001-2012 Heiko Oberdiek.
-%% 2016-2019 Oberdiek Package Suport Group
-%% 2019 LaTeX3 Project
+%% File: hyperref.dtx
+%% Copyright
+%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek,
+%% 2001-2015 Heiko Oberdiek.
+%% 2016-2019 Oberdiek Package Support Group
+%% 2019-2020 LaTeX3 Project
%% https://github.com/latex3/hyperref/issues
%%
%% This file is part of the `Hyperref Bundle'.
@@ -33,7 +34,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hluatex.def}
- [2019/11/10 v7.00c %
+ [2020/01/14 v7.00d %
Hyperref driver for luaTeX]
\Hy@VersionCheck{hluatex.def}
%% Source File: hluatex.dtx
@@ -158,13 +159,15 @@
}
\edef\Hy@pdfminorversion{\pdfvariable minorversion}%
- \ifHy@ocgcolorlinks
- \ifnum\Hy@pdfminorversion<5 %
+\edef\Hy@pdfmajorversion{\pdfvariable majorversion}%
+
+\ifHy@ocgcolorlinks
+ \ifnum\Hy@pdfmajorminor@version<105 %
\kvsetkeys{Hyp}{pdfversion=1.5}%
\fi
\fi
\ifHy@setpdfversion
- \ifnum\Hy@pdfversion<5 %
+ \ifnum\Hy@pdf@majorminor@version<105 %
\ltx@IfUndefined{pdfobjcompresslevel}{%
}{%
\ifHy@verbose
@@ -172,13 +175,13 @@
PDF object streams are disabled, because they are%
\MessageBreak
not supported in requested PDF version %
- 1.\Hy@pdfversion
+ \Hy@pdf@majorversion.\Hy@pdf@minorversion
}%
\fi
\pdfobjcompresslevel=\ltx@zero
}%
\fi
- \ifnum\Hy@pdfminorversion=\Hy@pdfversion\relax
+ \ifnum\Hy@pdfmajorminor@version=\Hy@pdf@majorminor@version\relax
\else
\let\Hy@temp\ltx@empty
\def\Hy@temp@A#1#2{%
@@ -201,10 +204,11 @@
\Hy@temp@A\pdflastlink{link}%
}%
\ifx\Hy@temp\ltx@empty
- \Hy@pdfminorversion=\Hy@pdfversion\relax
+ \Hy@pdfmajorversion=\Hy@pdf@majorversion\relax
+ \Hy@pdfminorversion=\Hy@pdf@minorversion\relax
\else
\let\Hy@temp@A\ltx@empty
- \ifnum\Hy@pdfversion=4 %
+ \ifnum\Hy@pdf@majorminor@version=104 %
\IfFileExists{pdf14.sty}{%
\def\Hy@temp@A{%
\MessageBreak
@@ -222,9 +226,10 @@
The version should be set as early as possible:%
\MessageBreak
\space\space
- \expandafter\string\Hy@pdfminorversion=\Hy@pdfversion
+ \expandafter\string\Hy@pdfmajorversion=\Hy@pdf@majorversion, %
+ \expandafter\string\Hy@pdfminorversion=\Hy@pdf@minorversion
\string\relax
- \ifnum\Hy@pdfversion<5 %
+ \ifnum\Hy@pdf@majorminor@version<105 %
\ltx@ifundefined{pdfobjcompresslevel}{%
}{%
\MessageBreak
@@ -237,11 +242,13 @@
\fi
\fi
\PackageInfo{hyperref}{%
+ \expandafter\string\Hy@pdfmajorversion.%
\expandafter\string\Hy@pdfminorversion
- :=\number\Hy@pdfversion\space
+ :=\number\Hy@pdf@majorversion.\number\Hy@pdf@minorversion\space
}%
\fi
- \edef\Hy@pdfversion{\number\Hy@pdfminorversion}%
+ \edef\Hy@pdf@majorversion{\number\Hy@pdfmajorversion}%
+ \edef\Hy@pdf@minorversion{\number\Hy@pdfminorversion}%
\Hy@DisableOption{pdfversion}%
\ifHy@ocgcolorlinks
@@ -1367,7 +1374,7 @@
}
\def\PDFForm@@Name#1{%
\begingroup
- \ifnum\Hy@pdfversion<5 % implementation note 117, PDF spec 1.7
+ \ifnum\Hy@pdf@majorminor@version<105 % implementation note 117, PDF spec 1.7
\ifHy@unicode
\Hy@unicodefalse
\fi