summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/indextools.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-11-25 21:42:40 +0000
committerKarl Berry <karl@freefriends.org>2022-11-25 21:42:40 +0000
commit2af2b06164af15211ea6b0f0a38e8946fb5649ab (patch)
tree6db23cc6952837ae6a8c3d4629ad000ed74f9bf6 /Master/texmf-dist/tex/generic/tex4ht/indextools.4ht
parent15c78b7d3931a379e08791206453a2a8e819aacf (diff)
indextools support, imakeidx fix, tex4ht r1251
git-svn-id: svn://tug.org/texlive/trunk@65105 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/indextools.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/indextools.4ht48
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/indextools.4ht b/Master/texmf-dist/tex/generic/tex4ht/indextools.4ht
new file mode 100644
index 00000000000..75375481b60
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/tex4ht/indextools.4ht
@@ -0,0 +1,48 @@
+% indextools.4ht (2022-11-25-13:16), generated from tex4ht-4ht.tex
+% Copyright 2022 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.
+\immediate\write-1{version 2022-11-25-13:16}
+
+\def\:tempa[#1]#2{\html:addr%
+ \ifindtl@splitindex\else% with splitindex, we would get duplicate index entry destinations
+ \hbox{\Link-{}{dx\last:haddr}\EndLink}%
+ \expandafter\protected@write\csname#1@idxfile\endcsname{}%
+ {\string\beforeentry{\RefFileNumber\FileNumber}{dx\last:haddr}{\a:makeindex}}%
+ \fi%
+ \o:@index:[#1]{#2}%
+}
+\HLet\@index\:tempa%
+
+\ifx \a:makeindex\:UnDef
+ \NewConfigure{makeindex}{1}\Configure{makeindex}{}
+\fi
+
+\Configure{@begin}{theindex}{\ind:defs}
+
+% disable redefiniton of \theindex in \AtBeginDocument
+\indtl@originaltrue
+
+% prevent automatic compilation of the index
+\let\KV@indtl@noautomaticfalse\KV@indtl@noautomatictrue
+\KV@indtl@noautomatictrue
+\indtl@disableautomatictrue
+
+
+\Hinput{indextools}
+\endinput
+