diff options
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 55 |
1 files changed, 53 insertions, 2 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 9939950dab..dbc95f3272 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1249 2022-11-22 16:53:24Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1251 2022-11-25 14:09:11Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2022 TeX Users Group @@ -31145,7 +31145,7 @@ destination to the idx file \HLet\imki@wrindexentrysplit\:temp \ifx \a:makeindex\:UnDef -\NewConfigure{makeindex}{}\Configure{makeindex}{} +\NewConfigure{makeindex}{1}\Configure{makeindex}{} \fi >>> @@ -31174,6 +31174,57 @@ d|<haddr prefix|>\last:haddr >>> %%%%%%%%%%%%%%%%%%%%%%%% +\SubSection{indextools.sty} +%%%%%%%%%%%%%%%%%%%%%%%% + +\<indextools.4ht\><<< +% indextools.4ht (|version), generated from |jobname.tex +% Copyright 2022 TeX Users Group +|<TeX4ht license text|> +|<indextools index|> +|<indextools defs|> +|<indextools disable options|> + +\Hinput{indextools} +\endinput +>>> \AddFile{7}{indextools} + + + + +Insert destinations for index items in text, and save the link to the .idx file + +\<indextools index\><<< +\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 +>>> + +\<indextools defs\><<< +\Configure{@begin}{theindex}{\ind:defs} +>>> + +\<indextools disable options\><<< +% 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 +>>> + +%%%%%%%%%%%%%%%%%%%%%%%% \Section{tugboat} %%%%%%%%%%%%%%%%%%%%%%%% |