diff options
author | Karl Berry <karl@freefriends.org> | 2022-11-25 21:42:40 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-11-25 21:42:40 +0000 |
commit | 2af2b06164af15211ea6b0f0a38e8946fb5649ab (patch) | |
tree | 6db23cc6952837ae6a8c3d4629ad000ed74f9bf6 /Master/texmf-dist/tex/generic | |
parent | 15c78b7d3931a379e08791206453a2a8e819aacf (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')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/indextools.4ht | 48 |
2 files changed, 51 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht b/Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht index a30c2dbc6b8..572384b574a 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht @@ -1,4 +1,4 @@ -% imakeidx.4ht (2020-05-18-13:31), generated from tex4ht-4ht.tex +% imakeidx.4ht (2022-11-25-13:16), generated from tex4ht-4ht.tex % Copyright 2019 TeX Users Group % % This work may be distributed and/or modified under the @@ -16,7 +16,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2020-05-18-13:31} +\immediate\write-1{version 2022-11-25-13:16} \def\:temp#1#2#3{\html:addr% @@ -30,7 +30,7 @@ \HLet\imki@wrindexentrysplit\:temp \ifx \a:makeindex\:UnDef -\NewConfigure{makeindex}{}\Configure{makeindex}{} +\NewConfigure{makeindex}{1}\Configure{makeindex}{} \fi \Configure{@begin}{theindex}{\ind:defs\imki@maybeaddtotoc} 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 + |