![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2024
Device: All
|
Re-linking endnotes to reference numbers
Hi All,
First I should point out, I'm brand new to Sigil and CSS. I've created an epub in Adobe inDesign and now I'm trying to move the endnotes to the end of book rather than end of section/chapters. Maybe this isn't the correct process but what I did as a test is cut the endnotes from the first section of my book and paste them into a new section I created. It seems to have worked. The problem is the links from the reference numbers to endnotes were broken. However, the "round trip" links from endnotes back to the ref. numbers still work. Two questions. Is there a more efficient way to move the endnotes? They appear in three sections of the book. How do I fix or add round trip links? Thanks, Aaron |
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 673
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
You really need to give some examples of the links in the text and the corresponding footnotes.
Anyway, likely the original links to notes at the end of the chapter were something like: <sup><a href="../Text/#ftn_fn2" id="ref_ftn_fn2">2</a></sup> this points to the link with id="ftn_fn2" in the same chapter. If you have moved all the notes to another file, footnotes.xhtml, you need to change the links to: <sup><a href="../Text/footnotes.xhtml#ftn_fn2" id="ref_ftn_fn2">2</a></sup> You can do that by S&R. Change: Text/# to Text/footnotes.xhtml# As always, save before doing anything, do one and see if it works before doing them all. Make sure the ids don't duplicate in each chapter (e.g., starting "ref_ftn_fn1" in each chapter, and the notes ids are also unique). Otherwise chapter 2 note refs will go to chapter 1 notes. Then you have to add text to each to make them unique. You seem to be lucky if the links from the notes back to the text work, these must already have that filename in the link. That is more tedious to fix as there are more than one text file. Last edited by AlanHK; 08-22-2024 at 07:25 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2024
Device: All
|
Alan, thanks for your suggestions. I looked for the original links as you described but I couldn't find them. I ended up going back into indesign and manually creating hyperlinks to the endnotes and then creating a new anchor point to return.
|
![]() |
![]() |
![]() |
Tags |
#endnotes, epub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
linking to gtk | chris_c | Kindle Developer's Corner | 7 | 08-25-2012 09:19 AM |
linking between books? | xmlgirl | ePub | 8 | 05-19-2012 04:23 PM |
Linking to a website | Rivka | General Discussions | 1 | 07-20-2011 06:41 PM |
Is there a hack for displaying page numbers rather than location numbers? | nesler | Kindle Developer's Corner | 16 | 02-15-2011 12:00 AM |
What are you linking? | gvtexas | Lounge | 14 | 02-29-2004 12:11 AM |