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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Wed Aug 27 13:03:31 CEST 2025


Author: michal_h21
Date: 2025-08-27 11:03:31 +0000 (Wed, 27 Aug 2025)
New Revision: 1733

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
added support for user suplemented usepackage-user.4ht

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2025-08-27 10:49:11 UTC (rev 1732)
+++ trunk/lit/ChangeLog	2025-08-27 11:03:31 UTC (rev 1733)
@@ -1,5 +1,9 @@
 2025-08-27  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-4ht.tex (usepackage.4ht): added support for insertion of
+	user defined early package hooks in usepackage-user.4ht.
+	https://tex.stackexchange.com/a/750266/2891
+
 	* tex4ht-4ht.tex (unicode-math-hooks.4ht): declared some extra user
 	commands.
 	https://tex.stackexchange.com/a/750266/2891

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2025-08-27 10:49:11 UTC (rev 1732)
+++ trunk/lit/tex4ht-4ht.tex	2025-08-27 11:03:31 UTC (rev 1733)
@@ -523,6 +523,7 @@
       \else \let\:temp=\use:package \fi
    \fi \:temp}
 |<add to usepackage|>
+|<user usepackage.4ht|>
 >>>
 
 \<problem due to hyperref?\><<<
@@ -538,6 +539,13 @@
 \fi
 >>>
 
+This allows to put package specific redefinitions in a custom file, usepackage-user.4ht, without 
+a need to modify Tex4ht sources.
+
+\<user usepackage.4ht\><<<
+\InputIfFileExists{usepackage-user.4ht}{}
+>>>
+
 %%%%%%%%%%%%%%%%%
 \Part{latex.ltx}
 %%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.