[latex3-commits] [git/LaTeX3-latex3-hyperref] cleanup-patches: remove reference definitions for tex4ht: tex4ht handles this itself in a better way (0024544)

Ulrike Fischer fischer at troubleshooting-tex.de
Sun May 1 00:24:39 CEST 2022


Repository : https://github.com/latex3/hyperref
On branch  : cleanup-patches
Link       : https://github.com/latex3/hyperref/commit/00245440f2a741eece272fc60dac0965f9dc5f24

>---------------------------------------------------------------

commit 00245440f2a741eece272fc60dac0965f9dc5f24
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun May 1 00:24:39 2022 +0200

    remove reference definitions for tex4ht: tex4ht handles this itself in a better way


>---------------------------------------------------------------

00245440f2a741eece272fc60dac0965f9dc5f24
 hyperref.dtx | 35 ++---------------------------------
 1 file changed, 2 insertions(+), 33 deletions(-)

diff --git a/hyperref.dtx b/hyperref.dtx
index 6bfc80f..4dc735b 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -7304,33 +7304,6 @@
   \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
-%    }%
-    \def\T at pageref#1{%
-      \Hy at safe@activestrue
-      \expandafter\@setref\csname r@#1\endcsname\@secondoffive{#1}%
-      \Hy at safe@activesfalse
-    }%
-    \def\T at Ref#1{%
-      \Hy at safe@activestrue
-      \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\@firstoffive{#1}%
-      \Hy at safe@activesfalse
-    }%
   \else
     \ifHy at typexml
     \else
@@ -7360,12 +7333,8 @@
         \NR at ref@showkeys{#1}%
         \HyRef at StarSetRef{#1}\HyRef at MakeUppercaseFirstOfFive
       }%
- \else
-%   \let \@pagerefstar\T at pageref
-%   \let \@refstar\T at ref
-%   \let \@namerefstar\T at nameref
-%   \let \@Refstar\T at Ref
- \fi
+     \else
+     \fi
   \fi
 }
 \Hy at AtBeginDocument{%





More information about the latex3-commits mailing list.