texlive[72744] Master/texmf-dist: manyfoot support, tex4ht r1592

commits+karl at tug.org commits+karl at tug.org
Fri Nov 1 22:52:49 CET 2024


Revision: 72744
          https://tug.org/svn/texlive?view=revision&revision=72744
Author:   karl
Date:     2024-11-01 22:52:49 +0100 (Fri, 01 Nov 2024)
Log Message:
-----------
manyfoot support, tex4ht r1592

Revision Links:
--------------
    https://tug.org/svn/texlive?view=revision&revision=1592

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/generic/tex4ht/manyfoot-hooks.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/manyfoot.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-11-01 21:27:23 UTC (rev 72743)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-11-01 21:52:49 UTC (rev 72744)
@@ -1,3 +1,10 @@
+2024-11-01  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (
+	usepackage.4ht, manyfoot.4ht, manyfoot-hooks.4ht
+	): added support for the Manyfoot package.
+	https://tex.stackexchange.com/a/729975/2891
+
 2024-10-29  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (french.4ht),

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex	2024-11-01 21:27:23 UTC (rev 72743)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex	2024-11-01 21:52:49 UTC (rev 72744)
@@ -1,4 +1,4 @@
-% $Id: mktex4ht-cnf.tex 1583 2024-10-18 14:27:19Z michal_h21 $
+% $Id: mktex4ht-cnf.tex 1592 2024-11-01 21:37:51Z michal_h21 $
 % Manually-maintained file, listing *.4ht files created by tex4ht-4ht.tex.
 % Read by tex4ht-cond4ht.
 %
@@ -340,6 +340,8 @@
 \AddFile{9}{footmisc}
 \AddFile{9}{tablefootnote}
 \AddFile{9}{marginnote}
+\AddFile{9}{manyfoot}
+\AddFile{9}{manyfoot-hooks}
 \AddFile{9}{writer}
 \AddFile{9}{mdwlist}
 \AddFile{9}{sverb}

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-11-01 21:27:23 UTC (rev 72743)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-11-01 21:52:49 UTC (rev 72744)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1591 2024-10-29 13:48:36Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1592 2024-11-01 21:37:51Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2024 TeX Users Group    
@@ -38490,6 +38490,61 @@
 \HLet\@mn@@@marginnote\:tempa
 >>>
 
+%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{manyfoot}
+%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<manyfoot.4ht\><<< 
+% manyfoot.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|> 
+
+
+\Hinput{manyfoot} 
+\endinput
+>>> \AddFile{9}{manyfoot}
+
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{manyfoot.sty}{manyfoot-hooks.4ht}
+>>>
+
+\<manyfoot-hooks.4ht\><<< 
+% manyfoot-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|> 
+
+\:AtEndOfPackage{%
+|<declare manyfoot footnote|>
+}
+
+\endinput
+>>> \AddFile{9}{manyfoot-hooks}
+
+The Manyfoot package provides the \''\DeclareNewFootnote' command to 
+declare new footnote types. The following code catches these new 
+commands, and redefines them to produce normal footnotes, just with 
+changed footnote mark. 
+
+See \Link[https://tex.stackexchange.com/a/729975/2891]{}{} this answer\EndLink 
+for an example.
+
+\<declare manyfoot footnote\><<<
+\let\o:MFL at declare:\MFL at declare
+\def\manyfoot:declarefn#1{%
+  \expandafter\renewcommand\csname footnote#1\endcsname[1]{%
+    \stepcounter{footnote#1}%
+    \renewcommand\thefootnote{\csname thefootnote#1\endcsname}%
+    \footnote{##1}%
+  }%
+}
+\def\MFL at declare#1#2[#3]{%
+  \o:MFL at declare:{#1}{#2}[#3]%
+  \manyfoot:declarefn{#2}%
+}%
+
+>>>
+
 %%%%%%%%%%%%%%%
 \Section{Other}
 %%%%%%%%%%%%%%%%%

Added: trunk/Master/texmf-dist/tex/generic/tex4ht/manyfoot-hooks.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/manyfoot-hooks.4ht	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/manyfoot-hooks.4ht	2024-11-01 21:52:49 UTC (rev 72744)
@@ -0,0 +1,40 @@
+% manyfoot-hooks.4ht (2024-11-01-14:51), generated from tex4ht-4ht.tex
+% Copyright 2024 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 2024-11-01-14:51}
+
+
+\:AtEndOfPackage{%
+\let\o:MFL at declare:\MFL at declare
+\def\manyfoot:declarefn#1{%
+  \expandafter\renewcommand\csname footnote#1\endcsname[1]{%
+    \stepcounter{footnote#1}%
+    \renewcommand\thefootnote{\csname thefootnote#1\endcsname}%
+    \footnote{##1}%
+  }%
+}
+\def\MFL at declare#1#2[#3]{%
+  \o:MFL at declare:{#1}{#2}[#3]%
+  \manyfoot:declarefn{#2}%
+}%
+
+
+}
+
+\endinput
+


Property changes on: trunk/Master/texmf-dist/tex/generic/tex4ht/manyfoot-hooks.4ht
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/generic/tex4ht/manyfoot.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/manyfoot.4ht	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/manyfoot.4ht	2024-11-01 21:52:49 UTC (rev 72744)
@@ -0,0 +1,25 @@
+% manyfoot.4ht (2024-11-01-14:51), generated from tex4ht-4ht.tex
+% Copyright 2024 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 2024-11-01-14:51}
+
+
+
+\Hinput{manyfoot}
+\endinput
+


Property changes on: trunk/Master/texmf-dist/tex/generic/tex4ht/manyfoot.4ht
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2024-11-01 21:27:23 UTC (rev 72743)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2024-11-01 21:52:49 UTC (rev 72744)
@@ -1,4 +1,4 @@
-% usepackage.4ht (2024-10-01-13:46), generated from tex4ht-4ht.tex
+% usepackage.4ht (2024-11-01-14:51), generated from tex4ht-4ht.tex
 % Copyright 2003-2009 Eitan M. Gurari
 % Copyright 2009-2024 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2024-10-01-13:46}
+\immediate\write-1{version 2024-11-01-14:51}
 
    \def\:temp{tex4ht}\ifx \:temp\@currname
    \:warning{\string\usepackage{tex4ht} again?}
@@ -98,6 +98,7 @@
 \Configure{PackageHooks}{exerquiz.sty}{exerquiz-hooks.4ht}
 \Configure{PackageHooks}{hyperxmp.sty}{hyperxmp-hooks.4ht}
 \Configure{PackageHooks}{datetime2.sty}{datetime2-hooks.4ht}
+\Configure{PackageHooks}{manyfoot.sty}{manyfoot-hooks.4ht}
 
 
 \endinput



More information about the tex-live-commits mailing list.