Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-19-2013, 05:22 AM   #1
tobias.wantzen
Member
tobias.wantzen began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2011
Device: none
Cross References: How to Handle the Backlinks of Multiple Links to One Anchor?

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
tobias.wantzen is offline   Reply With Quote
Old 09-19-2013, 05:38 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Just add several back links:

(back to chapter 8) (back to chapter 10a) (back to chapter 10b) ....

Or forget about back links, and rely in tho "back" functionality of the reader, and those that don't have it: bad luck.
Jellby is offline   Reply With Quote
Old 09-19-2013, 07:43 AM   #3
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Or use chapter endnotes and repeat the information in each chapter's endnotes. That would make it more likely that return links would not so much of a problem. These can also speed up a reader since jumps are made in the same document instead of in and out of it.

My little Sony PRS300 has no back button in the sense Jelby is talking about, but it is a pretty old unit now. But I am not going to give it up until it fails. I got it at a good price including a cover with light and it suits me fine.
mrmikel is offline   Reply With Quote
Old 09-19-2013, 07:34 PM   #4
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Jellby View Post
Just add several back links:

(back to chapter 8) (back to chapter 10a) (back to chapter 10b) ....

Or forget about back links, and rely in tho "back" functionality of the reader, and those that don't have it: bad luck.
This is basically the only solution. And it's laborious.

Hitch
Hitch is offline   Reply With Quote
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
Old 09-25-2013, 09:14 AM   #6
At_Libitum
Addict
At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.
 
Posts: 265
Karma: 724240
Join Date: Aug 2013
Device: KyBook
Quote:
Originally Posted by Adjust View Post
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
I've often wondered the same thing but haven't found a good solution so far. Yours will work with a simple reference, but take for instance a very extensive reference where you would like to link all occurrences to a glossary. A simple 'back' function/feature like in Stanza would be perfect if it was possible to include when an e-reader does not have this feature.
At_Libitum is offline   Reply With Quote
Old 09-25-2013, 12:08 PM   #7
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
To cover the case of readers with no back button you need to include links back to multiple references. If they are in different chapters the end of chapter notes can be used effectively but not within a chapter or if end notes at the end of the book are used. ePub does not support dynamic links so it is not possible to have a smart back link within the text of a book. Thus the best solution is to provide a back link at the start of the note and if two are needed then there is is no better solution than just providing two backlinks with some text that identifies which one the user should use. It should not be something like link 1 and 2 since the user may not know which link they should follow, since they may not have chosen to follow the first link and would have no idea that they are now at the 2nd one. A chapter indication or a unique text reference from the original should be used. It could be a number but it should be the one that was used in the original reference and must be unique.

Dale
DaleDe is offline   Reply With Quote
Old 09-25-2013, 01:02 PM   #8
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
If you are stuck with someone else's structure of the book, it is, as Hitch said, laborious and kind of clunky.

If it is one's own book, it might be time to put on one's thinking cap and see if all the back references are really necessary or this apparently very important material can be developed into a chapter of its own.

If the book is to be used in an academic environment, this latter approach is probably not workable.
mrmikel is offline   Reply With Quote
Old 11-04-2013, 09:32 AM   #9
Fittipaldi
Junior Member
Fittipaldi began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2013
Device: Tablet 7 pol
Quote:
Originally Posted by mrmikel View Post
If you are stuck with someone else's structure of the book, it is, as Hitch said, laborious and kind of clunky.

If it is one's own book, it might be time to put on one's thinking cap and see if all the back references are really necessary or this apparently very important material can be developed into a chapter of its own.

If the book is to be used in an academic environment, this latter approach is probably not workable.
That's my problem. I have an academic book with some links to same reference. how can I solve this? 'Cause I can't duplicate the bibliographic references.
Fittipaldi is offline   Reply With Quote
Old 11-04-2013, 11:33 AM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Fittipaldi View Post
That's my problem. I have an academic book with some links to same reference. how can I solve this? 'Cause I can't duplicate the bibliographic references.
Why can't you duplicate them?
JSWolf is offline   Reply With Quote
Old 11-04-2013, 03:28 PM   #11
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
In an academic book, one more additional bibliographic reference or two will be lost in the endless forest of citations. You can just copy and paste from the other ones.

As has been stated elsewhere, the aim might be design for epub rather than replicate the original print version. If it must match page for page, epub is probably the worst choice. If it doesn't have to go through one of the big distributors, PDFs are a better choice in this sort of job.
mrmikel is offline   Reply With Quote
Reply

Tags
backlinks, cross references


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Odd anchor links in purchased books ghostyjack Workshop 4 01-21-2012 06:38 AM
cross compiling links dent Kindle Developer's Corner 1 02-07-2011 08:42 AM
Dictionary / Cross-References maxmax Calibre 4 10-26-2010 04:00 AM
Multiple references to the same footnote crutledge Sigil 8 08-23-2010 04:33 AM
multiple references troymc Sigil 3 05-06-2010 03:20 PM


All times are GMT -4. The time now is 09:27 PM.


MobileRead.com is a privately owned, operated and funded community.