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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Mon Oct 16 15:06:26 CEST 2023


Author: michal_h21
Date: 2023-10-16 13:06:26 +0000 (Mon, 16 Oct 2023)
New Revision: 1394

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
declare the \Hy at PageAnchorSlide command

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-10-16 12:00:17 UTC (rev 1393)
+++ trunk/lit/ChangeLog	2023-10-16 13:06:26 UTC (rev 1394)
@@ -1,5 +1,9 @@
 2023-10-16  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-4ht.tex (hyperref.4ht): declare the \Hy at PageAnchorSlide
+	command, to prevent errors with packages that use it.
+	https://github.com/michal-h21/tex4ebook/issues/121
+
 	* tex4ht-html4.tex (html4.4ht),
 	* tex4ht-ooffice.tex (ooffice.4ht): fixed support for PDF and EPS
 	files with spaces in filenames.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2023-10-16 12:00:17 UTC (rev 1393)
+++ trunk/lit/tex4ht-4ht.tex	2023-10-16 13:06:26 UTC (rev 1394)
@@ -5912,6 +5912,14 @@
 
 >>>
 
+Some other commands that are not defined when Hyperref detects TeX4ht. 
+They are used by some packages, for example Lastpage, so we need to declare them to prevent errors.
+
+\<config hyperref\><<<
+\def\Hy at PageAnchorSlidesPlain{}%
+\def\Hy at PageAnchorSlide{}%           
+>>>
+
 %%%%%%%%%%%%%%%%%%%%%%%%%
 \SubSection{Forms}
 %%%%%%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.