I do want to put some source code entries and some figures/images in my appendix for more details see this question), and thus I would find it very useful to have a backlink there (just like you can have in the bibliography or acronym TOC with
acro or so), because the part where it is referenced is very far away from where it is printed (i.e. in the appendix).
In short, this question basically assumes the "opposite" of the question „Keeping tables/figures close to where they are mentioned”, i.e. my images/listings are far away from where they are mentioned and thus I'd like a backref for them, so people can find the explanation for a code snippet or image I cite when they just look at the appendix.
I have used
hyperref's commands for referencing the figure or listing created via minted, so e.g.
Thus, is it possible somehow to add a backreference (backref/backlink) to the caption – or keeping my other idea in mind of using headlines instead of captions there somewhere else in the text?
I e.g. want a caption like this:
Source code snippet showing how A makes B. (mentioned on pages 5, 7-8.)
The exact style, i.e. whether it is compact and skips pages or what intro it uses ("mentioned on pages" could also just be replaced by "pp." or another abbreviation that is likely already defined in some biblatex or acro macro) so, does not matter, but I e.g. like the style
I want these "S. 10, 14, 27" etc. backlinks to the page. The answer from @John Kormylo provides a nice example, but is not complete. But I do not want them for an acronym or reference list (biblatex can also do that, I know that), but for some figures/listings/captions in the appendix.
BTW it is enough if it backlinks to the page, it does not have to be the exact position.
There is no MWE I can give, because it does not work here.
Note: For obvious reasons that backref should possibly exclude a link in a TOC like