MWE
\documentclass[a4paper,11pt]{book}
\usepackage{tabularx}
\usepackage[svgnames]{xcolor}
\usepackage{footnote}
\usepackage[colorlinks=true,linkcolor=blue]{hyperref}
\makesavenoteenv{tabular}
\makesavenoteenv{table}
\begin{document}
FIRST PAGE
\newpage
\begin{tabular}{|l|c|c|l|c|c|}
\hline
A & 1 & 2\footnote{Go to 1. page}& 1 & 2\footnote{Go to 1. page} \\ \hline
B & 2 & 1 & 1 & 2\footnote{Go to 1. page} \\ \hline
C & 3 & 3 & 1 & 2\footnote{Go to 2. page}\\ \hline
\end{tabular}
\begin{tabular}{|l|c|c|}
\hline
A & 1 & 2\footnote{Go to 2. Page} \\ \hline
B & 2 & 1 \\ \hline
C & 3 & 3 \\ \hline
\end{tabular}
\begin{tabular}{|l|c|c|}
\hline
A & 1 & 2\footnote{Go to 1. Page} \\ \hline
B & 2\footnote{Go to 2. Page} & 1 \\ \hline
C & 3 & 3 \\ \hline
\end{tabular}
\begin{tabular}{|l|c|c|}
\hline
A & 1 & 2\footnote{Go to 1. Page} \\ \hline
B & 2\footnote{Go to 1. Page} & 1 \\ \hline
C\footnote{Go to 2. Page} & 3 & 3 \\ \hline
\end{tabular}
\end{document}
And output
As a matter of fact, whole footnotes are written Go to 2. page
in mouse message. How will I correct my MWE? Maybe threeparttable
?
Related: Footnote in table appears on wrong page
[ EDITED ] for @JohnKormylo's answer
\documentclass[a4paper,11pt]{book}
\usepackage{tabularx}
\usepackage[svgnames]{xcolor}
\usepackage{footnote}
\usepackage[colorlinks=true,linkcolor=blue]{hyperref}
\makesavenoteenv{tabular}
\makesavenoteenv{table}
\usepackage{blindtext}
\begin{document}
FIRST PAGE
\newpage
\begin{tabular}{|l|c|c|l|c|c|}
\hline
A & 1 & 2\footnote{Go to 1. page}& 1\hyperlink{z}{\ \color{magenta}{$^{2}$}}%
\addtocounter{footnote}{1}\footnotetext{\hypertarget{z}{\blindtext}} & 2\\ \hline
B & 2 & 1 & 1 & 2 \\ \hline
C & 3 & 3 & 1 & 2\footnote{Go to 2. page}\\ \hline
\end{tabular}
\newpage
FIRST PAGE
\newpage
FIRST PAGE
\end{document}
And, second footnote click output
and, third footnote click output
As can be seen, second footnote is starting half. Third footnote is starting exactly line. Does anyone know how to fix it?