4

I need to cite as an endnote (with the endnotes package) twice in the same chapter of a document. How do I do it without introducing twice the reference? That is, how do I refer to the same endnote in different parts of the chapter? Thanks

  • 1
    Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Mensch Sep 29 '13 at 19:30
3

You can use the \label-\ref mechanism. The only slight problem is that the \label command must go inside the argument to \endnote:

\documentclass{article}
\usepackage{endnotes,refcount}

\begin{document}

Start\endnote{What?}

Text\endnote{abc\label{dummy}}

More Text\endnotemark[\getrefnumber{dummy}]

\theendnotes
\end{document}

enter image description here

A couple of LaTeX runs are neeeded, as usual, for the number to stabilize. We need \getrefnumber instead of \ref because otherwise the first run would fail, since \endnotemark needs to see a number (after expansion).

0

I found the following to be working:

\documentclass{article}
\usepackage{endnotes}

\begin{document}

Text\endnote[1]{abc}

More Text\endnotemark[1]

\theendnotes
\end{document}

enter image description here

Basically you define a counter and then just refer to it via \endnotemark[num] however I'm not sure whether that means you have to manually adjust all the counters.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.