In practice, I want to have text like this where a note is inserted,
This is in the middle of a chapter, and we are at page XYZ. To know more, go look at the note at page UVW.
and text like this in the list of notes, specifically at page UVW,
(Page XYZ) This is the note
How can I achieve this?
The first attempt attempt was to use the memoir class (I was using book), like this
\documentclass{memoir}
\makepagenote
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter{Some chapter}
\chapter{Some other chapter}
Some text and a page/end note.\pagenote[Page what]{This is an end note}
\backmatter
\printpagenotes
\end{document}
However,
- I've not understood from the documentation what
whatshould be for the it to resolve to the page number where\pagenoteis used; - I have to use
memoirinstead ofbook, and I don't see why I should do so for one feature.
Then I discovered that the pagenote package exists, so I tried going back to book and use this package, like this:
\documentclass{book}
\usepackage[page]{pagenote}
\makepagenote
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter{Some chapter}
\chapter{Some other chapter}
Some text and a page/end note.\pagenote{This is an end note}
\backmatter
\printnotes
\end{document}
It will generate something like this where the note is set:
Some text and a page/end note.¹
and this where the notes are printed
- (page 3) This is an end note
Now, I've put the page option precisely to avoid the numbering of the notes and just have a reference, where the not is printed, to the page where the note is set (indeed, if I remove [page], (page 3) will disappear). However, the ¹ and the 1. seem to persist. Why is that?




\hypertargetand\hyperlinkpretty much anywhere, so long as only one target per name. Unlike\labeland\ref, they go directly into the PDF (\special). – John Kormylo Dec 23 '22 at 19:00