[latex3-commits] [git/LaTeX3-latex3-hyperref] cleanup-patches: correct tex4ht code, remove unneeded commands (de1b609)
Ulrike Fischer
fischer at troubleshooting-tex.de
Tue Apr 12 11:14:39 CEST 2022
Repository : https://github.com/latex3/hyperref
On branch : cleanup-patches
Link : https://github.com/latex3/hyperref/commit/de1b6090b551ea6e97645c917ec40a7923078eed
>---------------------------------------------------------------
commit de1b6090b551ea6e97645c917ec40a7923078eed
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Tue Apr 12 11:14:39 2022 +0200
correct tex4ht code, remove unneeded commands
>---------------------------------------------------------------
de1b6090b551ea6e97645c917ec40a7923078eed
hyperref.dtx | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/hyperref.dtx b/hyperref.dtx
index 3736de6..4d3e518 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -7305,18 +7305,18 @@
\Hy at DisableOption{colorlinks}%
\Hy at DisableOption{frenchlinks}%
\ifHy at texht
- \long\def\@firstoffive#1#2#3#4#5{#1}%
- \long\def\@secondoffive#1#2#3#4#5{#2}%
- \long\def\@thirdoffive#1#2#3#4#5{#3}%
- \long\def\@fourthoffive#1#2#3#4#5{#4}%
- \long\def\@fifthoffive#1#2#3#4#5{#5}%
- \providecommand*\@safe at activestrue{}%
- \providecommand*\@safe at activesfalse{}%
- \def\T at ref#1{%
- \Hy at safe@activestrue
- \expandafter\@setref\csname r@#1\endcsname\@firstoffive{#1}%
- \Hy at safe@activesfalse
- }%
+% \long\def\@firstoffive#1#2#3#4#5{#1}%
+% \long\def\@secondoffive#1#2#3#4#5{#2}%
+% \long\def\@thirdoffive#1#2#3#4#5{#3}%
+% \long\def\@fourthoffive#1#2#3#4#5{#4}%
+% \long\def\@fifthoffive#1#2#3#4#5{#5}%
+% \providecommand*\@safe at activestrue{}%
+% \providecommand*\@safe at activesfalse{}%
+% \def\T at ref#1{%
+% \Hy at safe@activestrue
+% \expandafter\@setref\csname r@#1\endcsname\@firstoffive{#1}%
+% \Hy at safe@activesfalse
+% }%
\def\T at pageref#1{%
\Hy at safe@activestrue
\expandafter\@setref\csname r@#1\endcsname\@secondoffive{#1}%
@@ -7324,12 +7324,12 @@
}%
\def\T at Ref#1{%
\Hy at safe@activestrue
- \expandafter\@setref\csname r@#1\endcsname\@secondoffive{#1}%
+ \expandafter\@setref\csname r@#1\endcsname\@firstoffive{#1}%
\Hy at safe@activesfalse
}%
\def\@Refstar#1{%
\Hy at safe@activestrue
- \expandafter\@setref\csname r@#1\endcsname\@secondoffive{#1}%
+ \expandafter\@setref\csname r@#1\endcsname\@firstoffive{#1}%
\Hy at safe@activesfalse
}%
\else
@@ -7370,7 +7370,7 @@
\fi
}
\Hy at AtBeginDocument{%
- \ifHy at texht
+ \ifx\ReadBookmarks\relax
\else
\Hy at CatcodeWrapper\ReadBookmarks
\fi
More information about the latex3-commits
mailing list.