[tex4ht-commits] [SCM] tex4ht updated: r1241 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Nov 17 19:48:36 CET 2022


Author: michal_h21
Date: 2022-11-17 18:48:36 +0000 (Thu, 17 Nov 2022)
New Revision: 1241

Modified:
   trunk/lit/ChangeLog
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-4ht.tex
Log:
disable the Footnotebackref package

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-11-17 18:10:35 UTC (rev 1240)
+++ trunk/lit/ChangeLog	2022-11-17 18:48:36 UTC (rev 1241)
@@ -1,5 +1,9 @@
 2022-11-17  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-4ht.tex (
+	usepackage.4ht, footnotebackref-hooks.4ht, footnotebackref.4ht
+	): disable the package Footnotebackref.
+
 	* tex4ht-4ht.tex (caption-hooks.4ht): don't use Caption's version of
 	\@caption, as it doesn't work with \index command included inside.
 

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2022-11-17 18:10:35 UTC (rev 1240)
+++ trunk/lit/mktex4ht-cnf.tex	2022-11-17 18:48:36 UTC (rev 1241)
@@ -62,6 +62,8 @@
 \AddFile{9}{subfigure}
 \AddFile{9}{caption}
 \AddFile{9}{subcaption}
+\AddFile{9}{footnotebackref}
+\AddFile{9}{footnotebackref-hooks}
 \AddFile{9}{floatrow}
 \AddFile{9}{makeidx}
 \AddFile{9}{splitidx}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-11-17 18:10:35 UTC (rev 1240)
+++ trunk/lit/tex4ht-4ht.tex	2022-11-17 18:48:36 UTC (rev 1241)
@@ -12377,6 +12377,48 @@
 \endinput
 >>>        \AddFile{9}{subcaption}
 
+
+%%%%%%%%%%%%%
+\Section{footnotebackref.sty}
+%%%%%%%%%%%%%
+
+Dummy package for footnotebackref. We need to disable it completely.
+
+\<footnotebackref.4ht\><<<
+% footnotebackref.4ht (|version), generated from |jobname.tex
+% Copyright 2022 TeX Users Group
+|<TeX4ht license text|>
+\Hinput{footnotebackref}
+\endinput
+>>> \AddFile{9}{footnotebackref}
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{footnotebackref.sty}{footnotebackref-hooks.4ht}
+>>>
+
+We disable the package, but still support the package options, as
+other packages (such as tablefootnote.sty) rely on them.
+
+\<footnotebackref-hooks.4ht\><<<
+\:dontusepackage{footnotebackref}
+\RequirePackage{kvoptions}% v3.10
+\@ifpackageloaded{hyperref}{}{\RequirePackage{hyperref}}
+
+\SetupKeyvalOptions{family=FootnoteBackref, prefix=FootnoteBackref@}
+
+% The symbol between the footnotenumber and the footnotetext
+% If empty no symbol will be printed
+\DeclareStringOption{symbol}
+
+% Option to hyperlink the footnotenumber
+\DeclareBoolOption[true]{numberlinked}
+\ProcessKeyvalOptions*
+\endinput
+>>> \AddFile{9}{footnotebackref-hooks}
+
+
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \Section{floatrow.sty}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.