texlive[74293] Master/texmf-dist: do not redefine \warn:idx, tex4ht

commits+karl at tug.org commits+karl at tug.org
Tue Feb 25 22:49:16 CET 2025


Revision: 74293
          https://tug.org/svn/texlive?view=revision&revision=74293
Author:   karl
Date:     2025-02-25 22:49:16 +0100 (Tue, 25 Feb 2025)
Log Message:
-----------
do not redefine \warn:idx, tex4ht r1649

Revision Links:
--------------
    https://tug.org/svn/texlive?view=revision&revision=1649

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/index.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2025-02-25 20:44:31 UTC (rev 74292)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2025-02-25 21:49:16 UTC (rev 74293)
@@ -1,3 +1,9 @@
+2025-02-25  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (index.4ht): removed redefinition of \warn:idx, it
+	caused an fatal error with \index commands.
+	https://tug.org/pipermail/tex4ht/2025q1/003692.html
+
 2025-02-20  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (listings.4ht): fixed support for escaped LaTeX

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2025-02-25 20:44:31 UTC (rev 74292)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2025-02-25 21:49:16 UTC (rev 74293)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1648 2025-02-20 16:59:57Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1649 2025-02-25 12:30:36Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2025 TeX Users Group    
@@ -13477,7 +13477,12 @@
   \fi}
 >>>
 
-\<index 4.1beta warning\><<<
+I am not sure why this version of the warning was used, but it causes a fatal
+error with in February 2025, while the default \Verb'\warn:idx' works.
+
+So it seems that we can simply ommit the warning.
+
+\<index 4.1beta warning do not use\><<<
 \def\warn:idx#1{%
   \expandafter\ifx \csname #1warn:idx\endcsname\relax
      \expandafter\global

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/index.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/index.4ht	2025-02-25 20:44:31 UTC (rev 74292)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/index.4ht	2025-02-25 21:49:16 UTC (rev 74293)
@@ -1,13 +1,13 @@
-% index.4ht (2024-05-20-13:21), generated from tex4ht-4ht.tex
+% index.4ht (2025-02-25-13:11), generated from tex4ht-4ht.tex
 % Copyright 1999-2009 Eitan M. Gurari
 % Copyright 2024 TeX Users Group
-% Copyright 2009-2024 TeX Users Group
+% Copyright 2009-2025 TeX Users Group
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
 % version 1.3c of this license or (at your option) any
 % later version. The latest version of this license is in
-%   http://www.latex-project.org/lppl.txt
+%   https://www.latex-project.org/lppl.txt
 % and version 1.3c or later is part of all distributions
 % of LaTeX version 2005/12/01 or later.
 %
@@ -14,11 +14,11 @@
 % This work has the LPPL maintenance status "maintained".
 %
 % The Current Maintainer of this work
-% is the TeX4ht Project <http://tug.org/tex4ht>.
+% is the TeX4ht Project <https://tug.org/tex4ht>.
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2024-05-20-13:21}
+\immediate\write-1{version 2025-02-25-13:11}
 
 \ifx \a:makeindex\:UnDef
    \NewConfigure{makeindex}{1} \Configure{makeindex}{}
@@ -33,36 +33,6 @@
          \:currentlabel}}{\a:makeindex}}}}\:temp
 }
 \pend:def\printindex{\def\indexname{\the\@nameuse{idxtitle@\@indextype}}}
-\def\warn:idx#1{%
-  \expandafter\ifx \csname #1warn:idx\endcsname\relax
-     \expandafter\global
-         \expandafter\let \csname #1warn:idx\endcsname\def
-     \:warning{If not done so, the index is to be processed by
-      ^^J\space\space tex '\string\def\string\filename
-         {{\jobname}{\expandafter
-\expandafter\expandafter\idx:extI \csname idx@#1\endcsname//%
-}{4dx}%
-          {\expandafter
-\expandafter\expandafter\idx:extII \csname idx@#1\endcsname//%
-}} \noexpand
-             \input\space idxmake.4ht'
-      ^^J\space\space  makeindex -o
-         \jobname.\expandafter
-\expandafter\expandafter\idx:extII \csname idx@#1\endcsname//%
-\space \jobname.4dx
-      ^^Jinstead of
-      ^^J\space\space  makeindex -o
-         \jobname.\expandafter
-\expandafter\expandafter\idx:extII \csname idx@#1\endcsname//%
-\space
-         \jobname.\expandafter
-\expandafter\expandafter\idx:extI \csname idx@#1\endcsname//%
-%
-      ^^JOn some platforms, the quotation marks ' should be
-      ^^J      replaced by double quotation marks " or eliminated.
-     }%
-     {\Configure{Needs}{File: #1.4idx}\Needs{}}%
-  \fi}
 \bgroup
 \@ifpackageloaded{imakeidx}{
    \expandafter\gdef\csname idx:extI\endcsname#1{#1}



More information about the tex-live-commits mailing list.