texlive[53220] Master/texmf-dist/tex/generic/tex4ht/footmisc.4ht:

commits+karl at tug.org commits+karl at tug.org
Mon Dec 23 23:34:42 CET 2019


Revision: 53220
          http://tug.org/svn/texlive?view=revision&revision=53220
Author:   karl
Date:     2019-12-23 23:34:41 +0100 (Mon, 23 Dec 2019)
Log Message:
-----------
symbolic footnote mark fixes, tex4ht r645

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=645

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/generic/tex4ht/footmisc.4ht

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/footmisc.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/footmisc.4ht	2019-12-23 21:35:29 UTC (rev 53219)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/footmisc.4ht	2019-12-23 22:34:41 UTC (rev 53220)
@@ -1,31 +1,59 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% footmisc.4ht                          2009-05-21-09:32 %
-% Copyright (C) 2004--2009       Eitan M. Gurari         %
-%                                                        %
-% This work may be distributed and/or modified under the %
-% conditions of the LaTeX Project Public License, either %
-% version 1.3c of this license or (at your option) any   %
-% later version. The latest version of this license is   %
-% in                                                     %
-%   http://www.latex-project.org/lppl.txt                %
-% and version 1.3c or later is part of all distributions %
-% of LaTeX version 2005/12/01 or later.                  %
-%                                                        %
-% This work has the LPPL maintenance status "maintained".%
-%                                                        %
-% This Current Maintainer of this work                   %
-% is Eitan M. Gurari.                                    %
-%                                                        %
-% If you modify this program your changing its signature %
-% with a directive of the following form will be         %
-% appreciated.                                           %
-%            \message{signature}                         %
-%                                                        %
-%                             gurari at cse.ohio-state.edu  %
-%                 http://www.cse.ohio-state.edu/~gurari  %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2009-05-21-09:32}
+% footmisc.4ht (2019-12-23-13:36), generated from tex4ht-4ht.tex
+% Copyright 2019 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2019-12-23-13:36}
 
+
+\long\def\@footnotetext#1{\leavevmode
+   \vbox{%\IgnorePar
+      \leftskip0pt {\ht:everypar{}\parindent0pt\leavevmode}%
+      \long\def\:tempc##1{\protected at edef\@currentlabel{\the\csname c at footnote\endcsname}%
+\anc:lbl f{footnote}%
+\Configure{newlabel}{\cur:th\the\csname c at footnote\endcsname}{\protect\p at footmisc@footnote{\the\csname c at footnote\endcsname}}
+\a:footnotetext
+   \o:@makefntext:{\b:footnotetext \csname a:footnotebody\endcsname
+                {##1}\csname b:footnotebody\endcsname}\c:footnotetext
+}%
+\HLet\@makefntext\:tempc
+%
+      \reset at font\footnotesize
+      \color at begingroup
+        \@makefntext{\ignorespaces#1}%
+      \color at 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
+
+\edef\footmisc:thefootnote{\expandafter\unexpanded\expandafter{\thefootnote}}
+\edef\footmisc:symbol{\unexpanded{\fnsymbol{footnote}}}
+\edef\footmisc:symbolstar{\unexpanded{\@fnsymbol\c at footnote}}
+
+\ifx\footmisc:thefootnote\footmisc:symbol
+  \newcommand\p at footmisc@footnote[1]{\@fnsymbol{#1}}
+\else
+  \ifx\footmisc:thefootnote\footmisc:symbolstar
+    \newcommand\p at footmisc@footnote[1]{\@fnsymbol{#1}}
+  \else
+    \newcommand\p at footmisc@footnote[1]{\p at footnote{#1}}
+  \fi
+\fi
+
 \Hinput{footmisc}
 \endinput
 



More information about the tex-live-commits mailing list