diff options
author | Norbert Preining <norbert@preining.info> | 2024-05-21 03:01:20 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-05-21 03:01:20 +0000 |
commit | 6e3adba09b2c9acc83d0d8ca15866aa7e532f47e (patch) | |
tree | af6be3862b2f6c21b379d0d5b048bf54c675c45e /support/TeX4ht/source | |
parent | 225d674dde02e0571b74d1fc483d2d4d1084856a (diff) |
CTAN sync 202405210301
Diffstat (limited to 'support/TeX4ht/source')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 8 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 20 |
2 files changed, 24 insertions, 4 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 3e15e91edc..9c755d1d42 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,3 +1,11 @@ +2024-05-20 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex ( + index.4ht, imakeidx.4ht, memoir.4ht, indextools.4ht + ): added support for optional argument of \index used inside of + \caption. + https://tex.stackexchange.com/a/718360/2891 + 2024-05-10 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (lettrine.4ht): defined more keys supported by the diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 040ebf5bde..c0a300cb01 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1519 2024-05-19 14:40:58Z karl $ +% $Id: tex4ht-4ht.tex 1521 2024-05-20 13:02:00Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2024 TeX Users Group @@ -12261,6 +12261,13 @@ and print them when it is safe. \ExplSyntaxOff >>> +\<latex caption index optional\><<< +\ExplSyntaxOn +\renewcommand\:saveindex[2][]{\seq_gput_right:Nn\:savedindex{[#1]{#2}}} +\def\:printsavedindex{\seq_map_inline:Nn\:savedindex{\index##1}} +\ExplSyntaxOff +>>> + \<latex caption index save\><<< \:initsaveindex% \let\index\:saveindex% @@ -16518,6 +16525,7 @@ DIV.right \<memoir.4ht\><<< % memoir.4ht (|version), generated from |jobname.tex % Copyright |CopyYear.2003. Eitan M. Gurari +% Copyright 2003-2024 TeX Users Group |<TeX4ht copywrite|> \input book.4ht \input verse.4ht @@ -16530,6 +16538,7 @@ DIV.right |<memoir 2008|> |<mempatch cfg|> \fi +|<latex caption index optional|> \Hinput{memoir} \endinput >>> \AddFile{8}{memoir} @@ -32413,6 +32422,7 @@ not necessary in MathML anyway. \<index.4ht\><<< % index.4ht (|version), generated from |jobname.tex % Copyright |CopyYear.1999. Eitan M. Gurari +% Copyright 2024 TeX Users Group |<TeX4ht copywrite|> |<index shared|> \expandafter\ifx \csname @vwritefile\endcsname\relax @@ -32420,6 +32430,7 @@ not necessary in MathML anyway. \else |<index 3.02|> \fi +|<latex caption index optional|> \Hinput{index} \endinput >>> \AddFile{7}{index} @@ -32519,11 +32530,11 @@ multind.sty\EndLink \<imakeidx.4ht\><<< % imakeidx.4ht (|version), generated from |jobname.tex -% Copyright 2019-2022 TeX Users Group +% Copyright 2019-2024 TeX Users Group |<TeX4ht license text|> |<imakeidx.sty|> - +|<latex caption index optional|> \Hinput{imakeidx} \endinput @@ -32588,11 +32599,12 @@ d|<haddr prefix|>\last:haddr \<indextools.4ht\><<< % indextools.4ht (|version), generated from |jobname.tex -% Copyright 2022 TeX Users Group +% Copyright 2022-2024 TeX Users Group |<TeX4ht license text|> |<indextools index|> |<indextools defs|> |<indextools disable options|> +|<latex caption index optional|> \Hinput{indextools} \endinput |