Hi,
I have a book with many cross references inside. A one-to-one relationship of anchor and link is simply solved with one backlink to the link (i.e. back to where the reader came from):
Code:
Link to anchor in chapter 5:
blablabl <a id="ref-1579-7-backlink" class="ref-link" href="#ref-1579-7">(see chapter 7)</a> blablabla
Anchor with backlink in chapter 7:
<a id="ref-1579-7" class="ref-anchor" href="#ref-1579-7-backlink">(back to chapter 5)</a> Blablabla
But how would you handle the case of 1 anchor, and many links to it, so the reader understands, where to go?
Code:
Link to anchor in chapter 8:
blablabl <a id="ref-1579-7a-backlink" class="ref-link" href="#ref-1579-7">(see chapter 7)</a>
Link to anchor in chapter 10:
blablabl <a id="ref-1579-7b-backlink" class="ref-link" href="#ref-1579-7">(see chapter 7)</a>
Anchor with backlink in chapter 7:
<a id="ref-1579-7" class="ref-anchor" href="#??????">(?????)</a> Blablabla
I also have footnotes, which are referenced twice ...
What’s a good solution for this?
Regards
Tobias