-
I need to write something like: This issue is addressed later. See the reference to this topic on [page @page:my_reference]. At that other point, I have this content: blah blah [@thisCitation]{#page:my_reference} I get a warning from citeproc that the citation is not found (obviously because it is not a section that can be cited). blah blah
\phantomsection\label{page:my_reference}{{[}\citeproc{ref-thisCitation}{12}{]}}, but the referencing location looks like this: See the reference to this topic on {[}page
\citeproc{ref-page:my_reference}{\textbf{page:my_reference?}}{]} Is there any way for me to get the page number of this fake section?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Pandoc does not have a mechanism to refer by page (it would not make sense for all formats). I wrote a filter that covers this use case, using a different syntax than yours. You can find it here. |
Beta Was this translation helpful? Give feedback.
-
Oh, thank you for reporting that, this comes from a rather recent change in the LaTeX writer I had not come across before!
The crossrefenum package is available on the CTAN and included in TeXLive since 2023: adding \usepackage{crossrefenum} in your template should be enough.
|
Beta Was this translation helpful? Give feedback.
Pandoc does not have a mechanism to refer by page (it would not make sense for all formats). I wrote a filter that covers this use case, using a different syntax than yours. You can find it here.