Here's the code:
\documentclass[12pt,letterpaper]{article}
\usepackage{array}
\newcommand{\fntxt}[1]{\footnotetext{#1}}
\newcommand{\fnstep}{\stepcounter{footnote}}
\newcommand{\fnmark}{\footnotemark}
\usepackage{hyperref}
\begin{document}
\begin{tabular}{| c | c |}
\hline
Test1\fnmark & Test2\fnmark \\ \hline
\end{tabular}
\addtocounter{footnote}{-1}
\fntxt{Footnote 1}
\fnstep
\fntxt{Footnote 2}
\end{document}
I pdflatex
it twice. The problem is: (1) when I click on the first footnote, I'm "transferred" to the same page, not pointed to the first footnote text; (2) when I click on the second, I'm correctly pointed to the second footnote text.
I've also tried to add more than two footnotes in the tabular. It turns out that only the last reference is working.
What's the reason behind this? How can one fix it?
Thanks a lot.