summaryrefslogtreecommitdiff
path: root/dev-tex/tex4ht/files/tex4ht-20090611_p1038_p20210423-hyperref.patch
blob: d3acc4c74adffb4b9157dcf064840596cdefcb96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
https://puszcza.gnu.org.ua/bugs/?508

--- a/texmf/tex/generic/tex4ht/hyperref.4ht
+++ b/texmf/tex/generic/tex4ht/hyperref.4ht
@@ -306,6 +306,12 @@
   \Hy@MakeCurrentHref{#1.\the\Hy@linkcounter}%
 }
 
+\@ifpackageloaded{nameref}{}
+{%
+   \let\sv:label\label
+   \RequirePackage{nameref}%
+   \let\label\sv:label
+}
 \def\hyper@makecurrent#1{%
   \begingroup
     \edef\Hy@param{#1}%