summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/footmisc.4ht
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/footmisc.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/footmisc.4ht22
1 files changed, 19 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/footmisc.4ht b/Master/texmf-dist/tex/generic/tex4ht/footmisc.4ht
index 5cc0deff423..1d4373eb02f 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/footmisc.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/footmisc.4ht
@@ -1,5 +1,5 @@
-% footmisc.4ht (2019-12-23-13:36), generated from tex4ht-4ht.tex
-% Copyright 2019 TeX Users Group
+% footmisc.4ht (2024-06-20-13:26), 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,8 +16,21 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2019-12-23-13:36}
+\immediate\write-1{version 2024-06-20-13:26}
+\newcounter{:footnotes}
+
+\def\FNnum{\the\:footnotes}
+
+\HRestore\footnote
+
+\def\:tempc{%
+ \HAssign\FNnum = \csname c@:footnotes\endcsname%
+ \stepcounter{:footnotes}%
+ \HAdvance\FNnum by 1%
+ \o:footnote:%
+}
+\HLet\footnote=\:tempc
\long\def\@footnotetext#1{\leavevmode
\vbox{%\IgnorePar
@@ -37,6 +50,7 @@
\color@endgroup
\ht:special{t4ht@[}}\ht:special{t4ht@]}}
+
% detect if the symbol or symbol* option were used
% we can detect that by testing of \thefootnote macro
@@ -54,6 +68,8 @@
\fi
\fi
+
+
\Hinput{footmisc}
\endinput