This question originates from a bug report at SourceForge.net: biblatex from April 2010. A user pointed out that a certain biblatex
style (verbose-inote
) produced wrong references when used together with the pagenote
package (which, quoting from its documentation, "provides notes similar to footnotes except that they are typeset on a different page"). What follows is the response of Philipp Lehman, the author of biblatex
:
Looks like a bug in the pagenote package which does not seem to support \label in the pagenotes:
\documentclass{scrartcl} \usepackage{pagenote} \makepagenote \begin{document} Text\pagenote{Page note.\label{test1}} Text\pagenote{See note \ref{test1}.} Text\pagenote{Another page note.\label{test2}} Text\pagenote{See note \ref{test2}.} \printnotes \end{document}
It works fine with the endnotes package so I suggest you try that:
\documentclass{scrartcl} \usepackage{endnotes} \begin{document} Text\endnote{Endnote.\label{test1}} Text\endnote{See note \ref{test1}.} Text\endnote{Another endnote.\label{test2}} Text\endnote{See note \ref{test2}.} \theendnotes \end{document}
The verbose-inote style uses the \label+\ref mechanism. Since this is a standard LaTeX feature, I consider this a bug in/a limitation of the pagenote package.
Recently, I took a look into endnotes.sty
(which also contains the package documentation) and stumbled upon the following change note:
Modification by Dominik Wujastyk, London, 19 September 1991:
Moved the line
\edef\@currentlabel{\csname p@endnote\endcsname\@theenmark}
out of the definition of \@endnotetext and into the definition of \@doanenote so that \label and \ref commands work correctly in endnotes. Otherwise, the \label just pointed to the last section heading (or whatever) preceding the \theendnotes command.
This former bug of the endnotes
package actually equates to the current behaviour of pagenote
. It is unclear to me if the author of the pagenote
package, Peter Wilson, did not want to include a cross-referencing mechanism or if pagenote
suffers from a similar bug as endnotes
once did, but for biblatex
's verbose-inote style, a \label
+\ref
mechanism in pagenote
would be extremely useful.
By now, you may have guessed the actual question: What modifications in / additions to pagenote.sty
would be necessary to support the standard LaTeX cross-referencing mechanism?