I'm using endnotes package to create endnotes, and since my existing body of text already contains lots of footnotes, I use \let\footnote=\endnote to convert footnotes into endnotes.
\documentclass{article} \usepackage{endnotes} \usepackage{hyperref} \let\footnote=\endnote \begin{document} Sample text.\footnote{Sample footnote}. \theendnotes \end{document} But while the original footnotes were nicely cross-referenced, the conversion doesn't preserve that. Is there a way to make a conversion while preserving the cross-referencing?
enotez, it was developed to provide – amongst other things – support forhyperref.