summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-05-22 21:16:59 +0000
committerKarl Berry <karl@freefriends.org>2024-05-22 21:16:59 +0000
commit5fa641bfe39445fa8e1d21b1837ece28d94ad92b (patch)
tree2af0e94fd79491777e57171c9c54f5fffafb6366
parentceeca4db570f8ccb7f4f3bc019d6017d3d00fcf6 (diff)
\indexprologue support, tex4ht r1522
git-svn-id: svn://tug.org/texlive/trunk@71324 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog6
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex6
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht6
3 files changed, 12 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 9c755d1d424..8d89fd0fcc9 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,9 @@
+2024-05-22 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (imakeidx.4ht): added support for the
+ \indexprologue command.
+ https://tex.stackexchange.com/a/714548/2891
+
2024-05-20 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-4ht.tex (
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index c0a300cb012..7b6162304c2 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1521 2024-05-20 13:02:00Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1522 2024-05-22 20:28:13Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -32569,10 +32569,10 @@ destination to the idx file
\fi
>>>
-Support for the intoc option of Imakeidx:
+Support for the intoc option of Imakeidx and the \`'\indexprologue' command.
\<imakeidx.sty\><<<
-\Configure{@begin}{theindex}{\ind:defs\imki@maybeaddtotoc}
+\Configure{@begin}{theindex}{\ind:defs\imki@maybeaddtotoc\imki@idxprologue\global\let\imki@idxprologue\relax}
>>>
Prevent the automatic index compilation, the index produced by tex4ht
diff --git a/Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht b/Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht
index e6feef1b9a7..fdeeb1ff93c 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 (2024-05-20-13:21), generated from tex4ht-4ht.tex
+% imakeidx.4ht (2024-05-22-14:13), generated from tex4ht-4ht.tex
% Copyright 2019-2024 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 2024-05-20-13:21}
+\immediate\write-1{version 2024-05-22-14:13}
\def\:temp#1#2#3{\html:addr%
@@ -32,7 +32,7 @@
\ifx \a:makeindex\:UnDef
\NewConfigure{makeindex}{1}\Configure{makeindex}{}
\fi
-\Configure{@begin}{theindex}{\ind:defs\imki@maybeaddtotoc}
+\Configure{@begin}{theindex}{\ind:defs\imki@maybeaddtotoc\imki@idxprologue\global\let\imki@idxprologue\relax}
\ExplSyntaxOn
\renewcommand\:saveindex[2][]{\seq_gput_right:Nn\:savedindex{[#1]{#2}}}