texlive[76187] Master/texmf-dist: avoid hyperref clash with

commits+karl at tug.org commits+karl at tug.org
Sat Aug 30 17:47:16 CEST 2025


Revision: 76187
          https://tug.org/svn/texlive?view=revision&revision=76187
Author:   karl
Date:     2025-08-30 17:47:16 +0200 (Sat, 30 Aug 2025)
Log Message:
-----------
avoid hyperref clash with \DocumentMetadata, tex4ht r1734

Revision Links:
--------------
    https://tug.org/svn/texlive?view=revision&revision=1734

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/hyperref.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2025-08-29 23:42:25 UTC (rev 76186)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2025-08-30 15:47:16 UTC (rev 76187)
@@ -1,3 +1,9 @@
+2025-08-29  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (hyperref.4ht): don't define \Hy at SectionHShift if
+	it is already defined. 
+	https://github.com/michal-h21/make4ht/issues/177
+
 2025-08-27  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (usepackage.4ht): added support for insertion of

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2025-08-29 23:42:25 UTC (rev 76186)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2025-08-30 15:47:16 UTC (rev 76187)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1733 2025-08-27 11:03:31Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1734 2025-08-29 07:20:18Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2025 TeX Users Group    
@@ -5634,7 +5634,9 @@
 }
 
 \let\Hy at SectionAnchorHref\@gobble
+\ifx\Hy at SectionHShift\relax
 \newlength\Hy at SectionHShift
+\fi
 
 \def\Hy at MakeCurrentHrefAuto#1{%
   \Hy at GlobalStepCount\Hy at linkcounter

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/hyperref.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/hyperref.4ht	2025-08-29 23:42:25 UTC (rev 76186)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/hyperref.4ht	2025-08-30 15:47:16 UTC (rev 76187)
@@ -1,4 +1,4 @@
-% hyperref.4ht (2025-07-22-12:46), generated from tex4ht-4ht.tex
+% hyperref.4ht (2025-08-29-14:56), generated from tex4ht-4ht.tex
 % Copyright 1999-2009 Eitan M. Gurari
 % Copyright 2009-2025 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2025-07-22-12:46}
+\immediate\write-1{version 2025-08-29-14:56}
 
 \csname end:hyperref\endcsname
 
@@ -299,7 +299,9 @@
 }
 
 \let\Hy at SectionAnchorHref\@gobble
+\ifx\Hy at SectionHShift\relax
 \newlength\Hy at SectionHShift
+\fi
 
 \def\Hy at MakeCurrentHrefAuto#1{%
   \Hy at GlobalStepCount\Hy at linkcounter



More information about the tex-live-commits mailing list.