[tex4ht-commits] [SCM] tex4ht updated: r1251 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Fri Nov 25 15:09:11 CET 2022
Author: michal_h21
Date: 2022-11-25 14:09:11 +0000 (Fri, 25 Nov 2022)
New Revision: 1251
Modified:
trunk/lit/ChangeLog
trunk/lit/mktex4ht-cnf.tex
trunk/lit/tex4ht-4ht.tex
Log:
added support for the indextools package
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2022-11-24 14:12:46 UTC (rev 1250)
+++ trunk/lit/ChangeLog 2022-11-25 14:09:11 UTC (rev 1251)
@@ -1,3 +1,12 @@
+2022-11-25 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (imakeidx.4ht): fixed error in
+ \NewConfigure{makeindex}.
+
+ * tex4ht-4ht.tex (indextools.4ht): added support for the Indextools
+ package.
+ https://github.com/michal-h21/tex4ebook/issues/95
+
2022-11-24 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-fonts-noncjk.tex (
Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex 2022-11-24 14:12:46 UTC (rev 1250)
+++ trunk/lit/mktex4ht-cnf.tex 2022-11-25 14:09:11 UTC (rev 1251)
@@ -261,6 +261,7 @@
\AddFile{7}{index}
\AddFile{7}{multind}
\AddFile{7}{imakeidx}
+\AddFile{7}{indextools}
\AddFile{9}{tugboat}
\AddFile{9}{ltugboat}
\AddFile{9}{ltugboat-a}
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2022-11-24 14:12:46 UTC (rev 1250)
+++ trunk/lit/tex4ht-4ht.tex 2022-11-25 14:09:11 UTC (rev 1251)
@@ -31145,7 +31145,7 @@
\HLet\imki at wrindexentrysplit\:temp
\ifx \a:makeindex\:UnDef
-\NewConfigure{makeindex}{}\Configure{makeindex}{}
+\NewConfigure{makeindex}{1}\Configure{makeindex}{}
\fi
>>>
@@ -31174,6 +31174,57 @@
>>>
%%%%%%%%%%%%%%%%%%%%%%%%
+\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 at splitindex\else% with splitindex, we would get duplicate index entry destinations
+ \hbox{\Link-{}{dx\last:haddr}\EndLink}%
+ \expandafter\protected at write\csname#1 at 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 at originaltrue
+
+% prevent automatic compilation of the index
+\let\KV at indtl@noautomaticfalse\KV at indtl@noautomatictrue
+\KV at indtl@noautomatictrue
+\indtl at disableautomatictrue
+>>>
+
+%%%%%%%%%%%%%%%%%%%%%%%%
\Section{tugboat}
%%%%%%%%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.