[tex4ht-commits] [SCM] tex4ht updated: r1734 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Fri Aug 29 09:20:18 CEST 2025


Author: michal_h21
Date: 2025-08-29 07:20:18 +0000 (Fri, 29 Aug 2025)
New Revision: 1734

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fixed clash with hyperref when \DocumentMetadata is used

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2025-08-27 11:03:31 UTC (rev 1733)
+++ trunk/lit/ChangeLog	2025-08-29 07:20:18 UTC (rev 1734)
@@ -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/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2025-08-27 11:03:31 UTC (rev 1733)
+++ trunk/lit/tex4ht-4ht.tex	2025-08-29 07:20:18 UTC (rev 1734)
@@ -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



More information about the tex4ht-commits mailing list.