summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hyperref/hyperref.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-10-05 03:01:15 +0000
committerNorbert Preining <norbert@preining.info>2019-10-05 03:01:15 +0000
commit72c9345e5bafe708888bf65448a81d1aee8275ed (patch)
treea1a99929b3d7307572844833f09ad7ba5ad1405d /macros/latex/contrib/hyperref/hyperref.dtx
parent9d9c04e14d0da9dd7829d0ec896aabfd50414fd8 (diff)
CTAN sync 201910050301
Diffstat (limited to 'macros/latex/contrib/hyperref/hyperref.dtx')
-rw-r--r--macros/latex/contrib/hyperref/hyperref.dtx69
1 files changed, 41 insertions, 28 deletions
diff --git a/macros/latex/contrib/hyperref/hyperref.dtx b/macros/latex/contrib/hyperref/hyperref.dtx
index 9c2096a402..92a4cad56d 100644
--- a/macros/latex/contrib/hyperref/hyperref.dtx
+++ b/macros/latex/contrib/hyperref/hyperref.dtx
@@ -3,7 +3,8 @@
%% with portions written by David Carlisle and Heiko Oberdiek,
%% 2001-2012 Heiko Oberdiek.
%% 2016-2019 Oberdiek Package Suport Group
-%% https://github.com/ho-tex/hyperref/issues
+%% 2019 LaTeX3 Project
+%% https://github.com/latex3/hyperref/issues
%%
%% This file is part of the `Hyperref Bundle'.
%% -------------------------------------------
@@ -18,7 +19,7 @@
%%
%% This work has the LPPL maintenance status `maintained'.
%%
-%% The Current Maintainer of this work is Heiko Oberdiek.
+%% The Current Maintainer of this work is the LaTeX3 Project.
%%
%% The list of all files belonging to the `Hyperref Bundle' is
%% given in the file `manifest.txt'.
@@ -48,7 +49,7 @@
%<puvnenc>\ProvidesFile{puvnenc.def}
%<puarenc>\ProvidesFile{puarenc.def}
%<psdextra>\ProvidesFile{psdextra.def}
-%<!none> [2019/09/12 v6.88i %
+%<!none> [2019/09/28 v7.00a %
%<package> Hypertext links for LaTeX]
%<nohyperref> Dummy hyperref (SR)]
%<driver> Hyperref documentation driver file]
@@ -119,8 +120,9 @@
\GetFileInfo{hyperref.sty}%
\title{Hypertext marks in \LaTeX}%
\author{Sebastian Rahtz (deceased)\\%
- Heiko Oberdiek (maintainer)\\%
- \texttt{https://github.com/ho-tex/hyperref/issues}}%
+ Heiko Oberdiek (inactive)\\%
+ The \LaTeX3 Project\\%
+ \texttt{https://github.com/latex3/hyperref/issues}}%
% \date{processed \today}%
\date{\filedate\space\fileversion}%
\maketitle
@@ -1223,7 +1225,7 @@
% printable ASCII area that don't obey the NFSS, so they have
% to be redefined here.
% UF 29.09.2017: added a mapping for \cs{noboundary}, see issue |#37|
-% \url{https://github.com/ho-tex/hyperref/issues/37}
+% \url{https://github.com/latex3/hyperref/issues/37}
% No test for PU, if some definition for PD1 is added it will work too.
% \begin{macrocode}
\let\{\textbraceleft
@@ -4929,7 +4931,7 @@
%
% \begin{macro}{\Hy@DisableOption}
% \begin{macrocode}
-\def\Hy@realDisableOption#1{%
+\def\Hy@DisableOption#1{%
\ltx@ifundefined{KV@Hyp@#1@default}{%
\define@key{Hyp}{#1}%
}{%
@@ -4938,17 +4940,6 @@
{\Hy@WarnOptionDisabled{#1}}%
}
-\def\Hy@DisableOption#1{%
- \ifnum\currentgrouplevel>0
- \expandafter\@firstoftwo
- \else
- \expandafter\@secondoftwo
- \fi
- {%
- \expandafter\gdef\csname Hy@smuggleout#1\endcsname{\Hy@DisableOption{#1}}%
- \expandafter\aftergroup\csname Hy@smuggleout#1\endcsname
- }
- {\Hy@realDisableOption{#1}}}
% \end{macrocode}
% \end{macro}
%
@@ -7756,6 +7747,12 @@
\@ifstar\@namerefstar\T@nameref
}%
% }%
+ \ifHy@implicit
+ \else
+ \let \@pagerefstar\T@pageref
+ \let \@refstar\T@ref
+ \let \@namerefstar\T@nameref
+ \fi
}
\Hy@AtBeginDocument{%
\ifHy@texht
@@ -9369,6 +9366,7 @@
\else
\def\@currValue{#2}%
\fi
+ \expandafter\Hy@pdfstringdef\expandafter\@currValue\expandafter{\@currValue}%
}
\define@key{Field}{loc}{%
\def\Fld@loc{#1}%
@@ -9478,7 +9476,7 @@
\def\Fld@bordersep{#1}%
}
\define@key{Field}{default}{%
- \def\Fld@default{#1}%
+ \Hy@pdfstringdef\Fld@default{#1}%
}
\define@key{Field}{align}{%
\def\Fld@align{#1}%
@@ -9645,13 +9643,28 @@
\@ifnextchar[{\@Reset}{\@Reset[]}%
}
\def\LayoutTextField#1#2{% label, field
- #1 #2%
+ \def\Hy@temp{#1}%
+ \ifx\Hy@temp\@empty
+ #2%
+ \else
+ #1 #2%
+ \fi
}
\def\LayoutChoiceField#1#2{% label, field
- #1 #2%
+ \def\Hy@temp{#1}%
+ \ifx\Hy@temp\@empty
+ #2%
+ \else
+ #1 #2%
+ \fi
}
\def\LayoutCheckField#1#2{% label, field
- #1 #2%
+ \def\Hy@temp{#1}%
+ \ifx\Hy@temp\@empty
+ #2%
+ \else
+ #1 #2%
+ \fi
}
\def\LayoutPushButtonField#1{% button
#1%
@@ -9678,12 +9691,12 @@
\def\DefaultWidthofSubmit{2cm}
\def\DefaultHeightofReset{14pt}
\def\DefaultWidthofReset{2cm}
-\def\DefaultHeightofCheckBox{\baselineskip}
-\def\DefaultWidthofCheckBox{\baselineskip}
-\def\DefaultHeightofChoiceMenu{\baselineskip}
-\def\DefaultWidthofChoiceMenu{\baselineskip}
-\def\DefaultHeightofText{\baselineskip}
-\def\DefaultHeightofTextMultiline{4\baselineskip}
+\def\DefaultHeightofCheckBox{\normalbaselineskip}
+\def\DefaultWidthofCheckBox{\normalbaselineskip}
+\def\DefaultHeightofChoiceMenu{\normalbaselineskip}
+\def\DefaultWidthofChoiceMenu{\normalbaselineskip}
+\def\DefaultHeightofText{\normalbaselineskip}
+\def\DefaultHeightofTextMultiline{4\normalbaselineskip}
\def\DefaultWidthofText{3cm}
\def\DefaultOptionsofSubmit{print,name=Submit,noexport}
\def\DefaultOptionsofReset{print,name=Reset,noexport}