Crossreferences from endnote to endnote hyperlink to strange targets

Create issue
Issue #10 resolved
Former user created an issue

Code like

More Text\endnote{See \cref{labelednote}

behaves strangely. I expected that on the endnote page, the link in the second endnote would bring me directly to the endnote text. However, it links back to the page where the labeled endnote has been set.

When I place the label inside the endnote, both the link and the target are wrong: the link points to the endnote page alright (not the place where the note has been set in the text), but it always goes to the last endnote. Apparently, enotez puts the labels in reverse order into the .aux file.

Please see my question at TeX.SE for more details including a MWE.

Comments (1)

  1. Log in to comment