summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/footnotehyper
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-03-07 22:42:39 +0000
committerKarl Berry <karl@freefriends.org>2017-03-07 22:42:39 +0000
commit5a673be1e4c328c044a8bd4f2fe3ca81ed571a34 (patch)
tree45db09b47c7fd2d74189903993094529399a4f7d /Master/texmf-dist/tex/latex/footnotehyper
parentf99cc5a22fe69fa6f1b3f864c9185ec424fd2e49 (diff)
footnotehyper (7mar17)
git-svn-id: svn://tug.org/texlive/trunk@43424 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/footnotehyper')
-rw-r--r--Master/texmf-dist/tex/latex/footnotehyper/footnotehyper.sty24
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/footnotehyper/footnotehyper.sty b/Master/texmf-dist/tex/latex/footnotehyper/footnotehyper.sty
index 192a473dcbf..5961bfecf9f 100644
--- a/Master/texmf-dist/tex/latex/footnotehyper/footnotehyper.sty
+++ b/Master/texmf-dist/tex/latex/footnotehyper/footnotehyper.sty
@@ -23,10 +23,10 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{footnotehyper}%
- [2017/02/16 v0.99 hyperref aware footnote.sty (JFB)]
+ [2017/03/07 v1.0 hyperref aware footnote.sty (JFB)]
%%
%% Package: footnotehyper
-%% Version: 0.99 (2017/02/16)
+%% Version: 1.0 (2017/03/07)
%% License: LPPL 1.3c
%% Copyright (C) 2016-2017 Jean-Francois Burnol <jfbu at free dot fr>.
%%
@@ -38,10 +38,9 @@
\let\FNH@colwidth\columnwidth
\newif\ifFNH@savingnotes
\AtBeginDocument {%
- \@ifpackageloaded{hyperref}
- {\ifHy@hyperfootnotes
\let\FNH@latex@footnote \footnote
\let\FNH@latex@footnotetext\footnotetext
+ \let\FNH@H@@footnotetext \@footnotetext
\newenvironment{savenotes}
{\FNH@savenotes\ignorespaces}{\FNH@spewnotes\ignorespacesafterend}%
\let\spewnotes \FNH@spewnotes
@@ -49,12 +48,13 @@
\let\footnotetext \FNH@footnotetext
\let\endfootnote \FNH@endfntext
\let\endfootnotetext\FNH@endfntext
- \else
- \PackageInfo{footnotehyper}%
- {inactive due to hyperfootnotes=false option}%
- \fi}%
- {\PackageWarning{footnotehyper}{^^J\@spaces\@spaces*************^^J%
- \space deactivating myself as hyperref is not detected !^^J}}%
+ \@ifpackageloaded{hyperref}
+ {\ifHy@hyperfootnotes
+ \let\FNH@H@@footnotetext\H@@footnotetext
+ \else
+ \let\FNH@hyper@fntext\FNH@nohyp@fntext
+ \fi}%
+ {\let\FNH@hyper@fntext\FNH@nohyp@fntext}%
}%
\def\FNH@hyper@fntext{\FNH@fntext\FNH@hyper@fntext@i}%
\def\FNH@nohyp@fntext{\FNH@fntext\FNH@nohyp@fntext@i}%
@@ -129,7 +129,7 @@
\let\@makefntext\@empty
\let\@finalstrut\@gobble
\let\rule\@gobbletwo
- \H@@footnotetext{\unvbox\FNH@notes}%
+ \FNH@H@@footnotetext{\unvbox\FNH@notes}%
\endgroup
\fi
\fi
@@ -183,7 +183,7 @@
\ifFNH@savingnotes
\def\FNH@endfntext@fntext{\FNH@nohyp@fntext}%
\else
- \def\FNH@endfntext@fntext{\H@@footnotetext}%
+ \def\FNH@endfntext@fntext{\FNH@H@@footnotetext}%
\fi
\FNH@startfntext
}%