summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2025-01-12 03:03:05 +0000
committerNorbert Preining <norbert@preining.info>2025-01-12 03:03:05 +0000
commit64a2c4bbcdc3d1eea2141e7c9b4d0db67c078e99 (patch)
treeb46cd898bf25190065d727e842ac1b779895cd79 /support
parent84e21ccda41f074e6f0e769aaeec543e862c6b43 (diff)
CTAN sync 202501120303
Diffstat (limited to 'support')
-rw-r--r--support/TeX4ht/source/ChangeLog5
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex6
2 files changed, 8 insertions, 3 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index e0ac3e3121..5a86a98de3 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,8 @@
+2025-01-10 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (latex.4ht): use \protected@edef in definition of
+ \@caption.
+
2025-01-09 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-mathml.tex (html-mml.4ht): don't hide last rows in arrays.
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index 39b914670e..469cad0f41 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1624 2025-01-09 09:44:56Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1627 2025-01-10 09:41:53Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2025 TeX Users Group
@@ -12479,8 +12479,8 @@ the \''\label' commands to avoid duplicating the anchor already set by the
\begingroup
\gHAdvance\TitleCount by 1
\protect:wrtoc
- \edef\:temp{#2}%
- \edef\:temp{\the\:tokwrite{\string\doTocEntry
+ \protected@edef\:temp{#2}%
+ \protected@edef\:temp{\the\:tokwrite{\string\doTocEntry
\string\toc|<caption type|>{\csname
the#1\endcsname}{\string\csname\space a:TocLink\string\endcsname
{\FileNumber}{\cur:th