summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hvtex.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hvtex.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hvtex.def11
1 files changed, 4 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtex.def b/Master/texmf-dist/tex/latex/hyperref/hvtex.def
index 7dacd15bee3..0df5fd3fcff 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hvtex.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hvtex.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hvtex.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
Hyperref driver for VTeX in PDF/PS mode]
\Hy@VersionCheck{hvtex.def}
\providecommand*{\XR@ext}{pdf}
@@ -956,12 +956,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