Debian Codegraph @

texmf-dist/tex/generic/tex4ht/imakeidx.4ht

raw
1 % imakeidx.4ht (2024-12-08-14:21), generated from tex4ht-4ht.tex
2 % Copyright 2019-2024 TeX Users Group
3 %
4 % This work may be distributed and/or modified under the
5 % conditions of the LaTeX Project Public License, either
6 % version 1.3c of this license or (at your option) any
7 % later version. The latest version of this license is in
8 % http://www.latex-project.org/lppl.txt
9 % and version 1.3c or later is part of all distributions
10 % of LaTeX version 2005/12/01 or later.
11 %
12 % This work has the LPPL maintenance status "maintained".
13 %
14 % The Current Maintainer of this work
15 % is the TeX4ht Project <http://tug.org/tex4ht>.
16 %
17 % If you modify this program, changing the
18 % version identification would be appreciated.
19 \immediate\write-1{version 2024-12-08-14:21}
20
21
22 \def\:temp#1#2#3{\html:addr%
23 \hbox{\Link-{}{\a:indexhaddr
24 }\EndLink}%
25 \expandafter\protected@write\csname#1@idxfile\endcsname{}%
26 {\string\beforeentry{\RefFileNumber\FileNumber}{\a:indexhaddr
27 }{\a:makeindex}}%
28 \o:imki@wrindexentrysplit:{#1}{#2}{#3}%
29 }
30 \HLet\imki@wrindexentrysplit\:temp
31
32 \ifx \a:makeindex\:UnDef
33 \NewConfigure{makeindex}{1}\Configure{makeindex}{}
34 \fi
35 \Configure{@begin}{theindex}{\ind:defs\imki@maybeaddtotoc\imki@idxprologue\global\let\imki@idxprologue\relax}
36
37 \ExplSyntaxOn
38 \renewcommand\:saveindex[2][]{\seq_gput_right:Nn\:savedindex{[#1]{#2}}}
39 \def\:printsavedindex{\seq_map_inline:Nn\:savedindex{\index##1}}
40 \ExplSyntaxOff
41
42
43 \Hinput{imakeidx}
44 \endinput
45