summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hypertex.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-22 21:08:35 +0000
committerKarl Berry <karl@freefriends.org>2022-02-22 21:08:35 +0000
commitb6f3ec13279685cdf24a94cec5ad200127a2c595 (patch)
tree2a269d1887c95ee8cdbb7e2aad37e15065219e57 /Master/texmf-dist/tex/latex/hyperref/hypertex.def
parent9d5158d37d74f6401908f8be395bc955664b3f39 (diff)
hyperref (22feb22)
git-svn-id: svn://tug.org/texlive/trunk@62142 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hypertex.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hypertex.def11
1 files changed, 4 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def
index c90754cc117..547c02782c5 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hypertex.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hypertex.def
@@ -33,7 +33,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hypertex.def}
- [2021-06-07 v7.00m %
+ [2022-02-21 v7.00n %
Hyperref driver for HyperTeX specials]
\Hy@VersionCheck{hypertex.def}
\providecommand*{\XR@ext}{dvi}
@@ -223,12 +223,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