Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-21-2024, 03:28 PM   #1
AaronMo
Junior Member
AaronMo began at the beginning.
 
Posts: 7
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
AaronMo is offline   Reply With Quote
Old 08-22-2024, 08:18 AM   #2
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 677
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 08:25 AM.
AlanHK is offline   Reply With Quote
Old 08-24-2024, 03:27 PM   #3
AaronMo
Junior Member
AaronMo began at the beginning.
 
Posts: 7
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.
AaronMo is offline   Reply With Quote
Reply

Tags
#endnotes, epub


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
linking to gtk chris_c Kindle Developer's Corner 7 08-25-2012 10:19 AM
linking between books? xmlgirl ePub 8 05-19-2012 05:23 PM
Linking to a website Rivka General Discussions 1 07-20-2011 07:41 PM
Is there a hack for displaying page numbers rather than location numbers? nesler Kindle Developer's Corner 16 02-15-2011 01:00 AM
What are you linking? gvtexas Lounge 14 02-29-2004 01:11 AM


All times are GMT -4. The time now is 09:58 AM.


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