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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Sun Mar 31 16:24:29 CEST 2024


Author: michal_h21
Date: 2024-03-31 14:24:29 +0000 (Sun, 31 Mar 2024)
New Revision: 1497

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fixed clash between imakeidx and index packages

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-03-27 08:37:14 UTC (rev 1496)
+++ trunk/lit/ChangeLog	2024-03-31 14:24:29 UTC (rev 1497)
@@ -1,3 +1,9 @@
+2024-03-31  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (index.4ht): fixed clash between Imakeidx and Index
+	packages.
+	https://tex.stackexchange.com/q/714247/2891
+
 2024-03-27  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (fancyvrb.4ht): changed non-existent \glet command

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2024-03-27 08:37:14 UTC (rev 1496)
+++ trunk/lit/tex4ht-4ht.tex	2024-03-31 14:24:29 UTC (rev 1497)
@@ -32300,6 +32300,7 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
 % index.4ht                             |version %
 % Copyright (C) |CopyYear.1999.       Eitan M. Gurari         %
+% Copyright 2024 TeX Users Group 
 |<TeX4ht copyright|>
 |<index shared|>
 \expandafter\ifx \csname @vwritefile\endcsname\relax
@@ -32338,9 +32339,15 @@
 
 \<index 4.1beta warning\><<<
 \bgroup
+\@ifpackageloaded{imakeidx}{
+   \expandafter\gdef\csname idx:extI\endcsname#1{#1}
+   \expandafter\gdef\csname idx:extII\endcsname#1{#1}
+}{
    \catcode`\:=12
    \expandafter\gdef\csname idx:extI\endcsname#1:#2//{#1}
    \expandafter\gdef\csname idx:extII\endcsname#1:#2:#3//{#2}
+}
+
 \egroup
 >>>
 



More information about the tex4ht-commits mailing list.