diff options
author | Karl Berry <karl@freefriends.org> | 2024-06-20 21:09:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-06-20 21:09:59 +0000 |
commit | 739a98b905f4c32b0d224570253a4ea5d4b1d1e7 (patch) | |
tree | 9bb5894dfa49a6a1bd942f6f5e221ff18be9f6b5 /Master/texmf-dist/tex/generic | |
parent | 6b5bf472acece05abcf4a1a8ba5bc8efecb74194 (diff) |
footnote counter reset, tex4ht r1532
git-svn-id: svn://tug.org/texlive/trunk@71576 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/footmisc.4ht | 22 |
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 |