I wish to reproduce the following using the enotez package:
\documentclass{article}
\usepackage{endnotes}
\begin{document}
My text\footnote{my footnote}
\newpage
\theendnotes
\end{document}
The above gives me footnotes and endnotes.
My attempt :
\documentclass{article}
\usepackage{enotez}
\begin{document}
My text\footnote{my footnote}
\newpage
\printendnotes
\end{document}
This is giving my only footnotes.
\documentclass{article}
\usepackage{enotez}
\let\footnote=\endnote
\begin{document}
My text\footnote{my footnote}
\newpage
\printendnotes
\end{document}
This is giving my only endnotes.
How do I get both footnotes and endnotes from enotez package ?
\footnote
both does\footnote
and\endnote
with the same text?