View Single Post
Old 09-24-2013, 11:59 PM   #5
Adjust
Addict
Adjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel is
 
Adjust's Avatar
 
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
Quote:
Originally Posted by tobias.wantzen View Post
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


They way I get around this is split them into chapters in the endmatter notes section, e.g.

Chapter 01
blablabl (and have unique back link from here)
Chapter 02
blablabl
Adjust is offline   Reply With Quote