diff options
author | Karl Berry <karl@freefriends.org> | 2022-11-17 21:46:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-11-17 21:46:02 +0000 |
commit | b3af5caa17b9d6a549877df56ef516db67a70c44 (patch) | |
tree | 7c9aa1995856d6d27f4dcee4e5cc2350a260e572 /Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | |
parent | e0b69509184f55823eb40ec8e0ab254077d7d2c8 (diff) |
do not use \@caption from caption.sty, fails with \index inside, tex4ht r1240; disable footnotebackref, tex4ht r1241
git-svn-id: svn://tug.org/texlive/trunk@65044 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 46 |
1 files changed, 44 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index b78484d8a02..f846cebdac2 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1237 2022-11-15 15:09:44Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1241 2022-11-17 18:48:36Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2022 TeX Users Group @@ -12294,7 +12294,7 @@ Foo \long\def\caption@If@Package@Loaded#1[#2]#3#4{} \renewcommand*\caption@redefine{% \let\caption\caption@caption% - \let\@caption\caption@@caption% + % \let\@caption\caption@@caption% }% } >>> \AddFile{9}{caption-hooks} @@ -12377,6 +12377,48 @@ prevent this issue. \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} %%%%%%%%%%%%%%%%%%%%%%%%%%%% |