summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-05-20 21:09:04 +0000
committerKarl Berry <karl@freefriends.org>2024-05-20 21:09:04 +0000
commitd1e280672ee3e75b9e440660d9539bbe2df08183 (patch)
tree4dc7bcd57f5503586c8e6545221d698ae1e5433d /Master/texmf-dist/tex/generic
parent40edbd1a04173ee748a58a791efdb235969b3fc4 (diff)
support \index optional argument, tex4ht r1520
git-svn-id: svn://tug.org/texlive/trunk@71312 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht10
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/index.4ht10
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/indextools.4ht11
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/memoir.4ht10
4 files changed, 31 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht b/Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht
index 16af14dc0ea..e6feef1b9a7 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht
@@ -1,5 +1,5 @@
-% imakeidx.4ht (2022-11-27-07:50), generated from tex4ht-4ht.tex
-% Copyright 2019-2022 TeX Users Group
+% imakeidx.4ht (2024-05-20-13:21), generated from tex4ht-4ht.tex
+% Copyright 2019-2024 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -16,7 +16,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-11-27-07:50}
+\immediate\write-1{version 2024-05-20-13:21}
\def\:temp#1#2#3{\html:addr%
@@ -34,6 +34,10 @@
\fi
\Configure{@begin}{theindex}{\ind:defs\imki@maybeaddtotoc}
+\ExplSyntaxOn
+\renewcommand\:saveindex[2][]{\seq_gput_right:Nn\:savedindex{[#1]{#2}}}
+\def\:printsavedindex{\seq_map_inline:Nn\:savedindex{\index##1}}
+\ExplSyntaxOff
\Hinput{imakeidx}
diff --git a/Master/texmf-dist/tex/generic/tex4ht/index.4ht b/Master/texmf-dist/tex/generic/tex4ht/index.4ht
index 1e6c2bc82b4..372b7128940 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/index.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/index.4ht
@@ -1,5 +1,6 @@
-% index.4ht (2024-04-07-07:55), generated from tex4ht-4ht.tex
+% index.4ht (2024-05-20-13:21), generated from tex4ht-4ht.tex
% Copyright 1999-2009 Eitan M. Gurari
+% Copyright 2024 TeX Users Group
% Copyright 2009-2024 TeX Users Group
%
% This work may be distributed and/or modified under the
@@ -17,7 +18,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2024-04-07-07:55}
+\immediate\write-1{version 2024-05-20-13:21}
\ifx \a:makeindex\:UnDef
\NewConfigure{makeindex}{1} \Configure{makeindex}{}
@@ -85,6 +86,11 @@
}
\fi
+\ExplSyntaxOn
+\renewcommand\:saveindex[2][]{\seq_gput_right:Nn\:savedindex{[#1]{#2}}}
+\def\:printsavedindex{\seq_map_inline:Nn\:savedindex{\index##1}}
+\ExplSyntaxOff
+
\Hinput{index}
\endinput
diff --git a/Master/texmf-dist/tex/generic/tex4ht/indextools.4ht b/Master/texmf-dist/tex/generic/tex4ht/indextools.4ht
index 75375481b60..cfb361f5de3 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/indextools.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/indextools.4ht
@@ -1,5 +1,5 @@
-% indextools.4ht (2022-11-25-13:16), generated from tex4ht-4ht.tex
-% Copyright 2022 TeX Users Group
+% indextools.4ht (2024-05-20-13:21), generated from tex4ht-4ht.tex
+% Copyright 2022-2024 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -16,7 +16,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-11-25-13:16}
+\immediate\write-1{version 2024-05-20-13:21}
\def\:tempa[#1]#2{\html:addr%
\ifindtl@splitindex\else% with splitindex, we would get duplicate index entry destinations
@@ -42,6 +42,11 @@
\KV@indtl@noautomatictrue
\indtl@disableautomatictrue
+\ExplSyntaxOn
+\renewcommand\:saveindex[2][]{\seq_gput_right:Nn\:savedindex{[#1]{#2}}}
+\def\:printsavedindex{\seq_map_inline:Nn\:savedindex{\index##1}}
+\ExplSyntaxOff
+
\Hinput{indextools}
\endinput
diff --git a/Master/texmf-dist/tex/generic/tex4ht/memoir.4ht b/Master/texmf-dist/tex/generic/tex4ht/memoir.4ht
index 364a0f85953..e9d47c6ea24 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/memoir.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/memoir.4ht
@@ -1,5 +1,6 @@
-% memoir.4ht (2024-01-13-13:40), generated from tex4ht-4ht.tex
+% memoir.4ht (2024-05-20-13:21), generated from tex4ht-4ht.tex
% Copyright 2003-2009 Eitan M. Gurari
+% Copyright 2003-2024 TeX Users Group
% Copyright 2009-2024 TeX Users Group
%
% This work may be distributed and/or modified under the
@@ -17,7 +18,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2024-01-13-13:40}
+\immediate\write-1{version 2024-05-20-13:21}
\input book.4ht
\input verse.4ht
@@ -145,6 +146,11 @@
\fi
\fi
+\ExplSyntaxOn
+\renewcommand\:saveindex[2][]{\seq_gput_right:Nn\:savedindex{[#1]{#2}}}
+\def\:printsavedindex{\seq_map_inline:Nn\:savedindex{\index##1}}
+\ExplSyntaxOff
+
\Hinput{memoir}
\endinput