diff options
Diffstat (limited to 'dev-tex/tex4ht/files/tex4ht-20090611_p1038_p20210423-hyperref.patch')
-rw-r--r-- | dev-tex/tex4ht/files/tex4ht-20090611_p1038_p20210423-hyperref.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-tex/tex4ht/files/tex4ht-20090611_p1038_p20210423-hyperref.patch b/dev-tex/tex4ht/files/tex4ht-20090611_p1038_p20210423-hyperref.patch new file mode 100644 index 000000000000..d3acc4c74adf --- /dev/null +++ b/dev-tex/tex4ht/files/tex4ht-20090611_p1038_p20210423-hyperref.patch @@ -0,0 +1,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}% |