Problem
I have various footnotes, which are hyperlinked from the text to the bottom of their respective pages. When I click on the hyperlinks (in the main text), they always take me to the first page of my document. I also have footnotebackref
which puts a hyperlink at the footnote to take the reader back to the main body of text and these links for fine.
Edited MWE
After a lot of deletion, I have managed to reduce the document to the following lines. One might say that I have found the problem, since the removal of \usepackage[hang, flushmargin]{footmisc}
stops the problem, but I would still like to have non-indented footnotes.
\documentclass{article}
\usepackage[usenames,dvipsnames]{color}
\usepackage[colorlinks=true]{hyperref}
\usepackage[hang, flushmargin]{footmisc} %Problem line.
\usepackage{footnotebackref}
\begin{document}
\tableofcontents
\newpage
\section{Section}
This is some text\footnote{This is a footnote.}.
\end{document}