diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def index 0f09c3bfcf9..b4c5c978f2f 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def @@ -33,7 +33,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvipdfm.def} - [2021-06-07 v7.00m % + [2022-02-21 v7.00n % Hyperref driver for dvipdfm] \Hy@VersionCheck{hdvipdfm.def} \special{pdf:majorversion \Hy@pdf@majorversion} @@ -1027,8 +1027,8 @@ \global\let\Hy@FormObjects\relax } \providecommand*{\Fld@pageobjref}{} -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname pdf@escapestring\endcsname\relax +\@ifundefined{pdf@escapestring} + {% \let\Hy@escapestring\@firstofone \def\Hy@escapeform#1{% \ifHy@pdfescapeform @@ -1059,7 +1059,7 @@ }% \fi }% -\else + }{% \def\Hy@escapeform#1{% \ifHy@pdfescapeform \let\Hy@escapestring\pdfescapestring @@ -1068,7 +1068,7 @@ \fi }% \Hy@escapeform{}% -\fi + } \def\PDFForm@Name{% \PDFForm@@Name\Fld@name \ifx\Fld@altname\relax @@ -1682,12 +1682,9 @@ }% } \let\H@old@part\@part -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname chapter\endcsname\relax - \let\Hy@secnum@part\z@ -\else - \let\Hy@secnum@part\m@ne -\fi +\@ifundefined{chapter} + {\let\Hy@secnum@part\z@} + {\let\Hy@secnum@part\m@ne} \def\@part{% \ifnum\Hy@secnum@part>\c@secnumdepth \phantomsection |