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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Sat Oct 17 13:01:58 CEST 2020


Author: michal_h21
Date: 2020-10-17 14:01:58 +0300 (Sat, 17 Oct 2020)
New Revision: 830

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Adapted cleveref for the new hooks mechanism

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-10-17 10:56:38 UTC (rev 829)
+++ trunk/lit/ChangeLog	2020-10-17 11:01:58 UTC (rev 830)
@@ -36,6 +36,8 @@
 	the new package hook mechanism. 
 	* tex4ht-4ht.tex: added tutorial on how to write early package patching
 	hooks.
+	* tex4ht-4ht.tex (usepackage.4ht, imakeidx-hooks.4ht): adapted imakeidx for
+	the new package hook mechanism. 
 
 2020-10-16  Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2020-10-17 10:56:38 UTC (rev 829)
+++ trunk/lit/tex4ht-4ht.tex	2020-10-17 11:01:58 UTC (rev 830)
@@ -29368,18 +29368,20 @@
 \Configure{@begin}{theindex}{\ind:defs\imki at maybeaddtotoc}
 >>>
 
-\<use package\><<<
-imakeidx,>>>
-
 Prevent the automatic index compilation, the index produced by tex4ht
 needs a special treatment.
 
 \<add to usepackage\><<<
-\def\:temp{imakeidx}\ifx\@currname\:temp
-  \PassOptionsToPackage{noautomatic}{imakeidx}
-\fi
+\Configure{PackageHooks}{imakeidx.sty}{imakeidx-hooks.4ht}
 >>>
 
+\<imakeidx-hooks.4ht\><<<
+% imakeidx-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2020 TeX Users Group
+|<TeX4ht license text|>
+\PassOptionsToPackage{noautomatic}{imakeidx}
+>>> \AddFile{9}{imakeidx-hooks}
+
 \<index haddr\><<<
 d|<haddr prefix|>\last:haddr
 >>>



More information about the tex4ht-commits mailing list.