summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-03-31 20:53:23 +0000
committerKarl Berry <karl@freefriends.org>2024-03-31 20:53:23 +0000
commit613e8f7732faf711a8c7eee134c7afd6481e0eff (patch)
tree9e181c423e2c7d848480bdeaf73bd3010a3b4d0e /Master/texmf-dist/tex/generic
parent1d187732c0f4ba2534d6cf2b2622f8fd0b52b6ed (diff)
imakeidx vs. index clash, tex4ht r1497
git-svn-id: svn://tug.org/texlive/trunk@70827 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/index.4ht53
1 files changed, 26 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/index.4ht b/Master/texmf-dist/tex/generic/tex4ht/index.4ht
index 0962a1326a6..21845fecc8c 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/index.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/index.4ht
@@ -1,31 +1,24 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% index.4ht 2009-05-21-09:32 %
-% Copyright (C) 1999--2009 Eitan M. Gurari %
-% %
-% 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 %
-% and version 1.3c or later is part of all distributions %
-% of LaTeX version 2005/12/01 or later. %
-% %
-% This work has the LPPL maintenance status "maintained".%
-% %
-% This Current Maintainer of this work %
-% is Eitan M. Gurari. %
-% %
-% If you modify this program your changing its signature %
-% with a directive of the following form will be %
-% appreciated. %
-% \message{signature} %
-% %
-% gurari@cse.ohio-state.edu %
-% http://www.cse.ohio-state.edu/~gurari %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2009-05-21-09:32}
-
+% index.4ht 2024-03-31-13:42 %
+% Copyright (C) 1999-2009 Eitan M. Gurari %
+% Copyright 2024 TeX Users Group
+% Copyright 2009-2024 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
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
\ifx \a:makeindex\:UnDef
\NewConfigure{makeindex}{1} \Configure{makeindex}{}
\fi
@@ -70,9 +63,15 @@
{\Configure{Needs}{File: #1.4idx}\Needs{}}%
\fi}
\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