Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-01-2019, 10:34 PM   #1
dipaolt
Junior Member
dipaolt began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2019
Device: mobi
Links in Sigil not working from linked item back to text

Hello,

I have just finished creating an ePub file in Sigil ePub 2.0, and i am having some trouble with the hyperlinks. My book has links to notes at the end in a file called "notes". The links from the text to the respective notes work well and go directly to the correct note (link). However, when I click on the link number to go back to the text, it takes me to the beginning of the chapter instead of to the hyperlinked text. Does anyone know why this is happening?
dipaolt is offline   Reply With Quote
Old 09-02-2019, 02:37 AM   #2
Vroni
Beast
Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'
 
Posts: 125
Karma: 10010
Join Date: Oct 2018
Device: Tolino/PRS 650/Tablet
Quote:
Originally Posted by dipaolt View Post
Does anyone know why this is happening?
Sure, your links/backlinks/ids are not properly defined.

Without any coding no further help is possible.
Vroni is offline   Reply With Quote
Advert
Old 09-02-2019, 06:35 AM   #3
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 1,835
Karma: 12128026
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone X/6/iPad 1,2 & Air/Surface Pro/Kindle PW
example-

html file:
<p>Some paragraph with a <a id="backhere1" href="../Text/notes.html#ref1">link</a>.</p>

footnotes file:
<ul>
<li><a id="ref1" href="../Text/page1.html#backhere1">[1]</a>Footnote 1</li>
</ul>
Turtle91 is offline   Reply With Quote
Old 09-02-2019, 07:24 PM   #4
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 1,290
Karma: 6580661
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by dipaolt View Post
However, when I click on the link number to go back to the text, it takes me to the beginning of the chapter instead of to the hyperlinked text. Does anyone know why this is happening?
As Vroni has said, it's impossible to tell without seeing the exact code.

And he's also correct with his educated guess, jumping to the top of the file is usually a sign your links aren't coded properly.

You can press Tools > Reports > Links and looking in the Target Exists? column. If the links work correctly, they should say "Yes". If you have a lot of "No", it would be an extra good idea to post examples of code here.
Tex2002ans is offline   Reply With Quote
Old 09-04-2019, 05:55 AM   #5
GrannyGrump
Obsessively Dedicated...
GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.
 
GrannyGrump's Avatar
 
Posts: 2,100
Karma: 19537404
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
One very basic suggestion is to always start your id with an alpha character --- some readers (including ADE for PC) do not recognize ids that start with a digit, and the link will jump to the beginning of the file.

so
id="a001" would work.
id="001" might not work in your particular reader.
GrannyGrump is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil 0.9.8 - 0.9.9 F7 (Flightcrew?) does not pick up mismatched TOC item Chris_Snow Sigil 9 05-08-2018 12:07 AM
Working with text color in Sigil? wlashack Sigil 3 03-27-2018 08:24 AM
CSS linked but not working on last chapter Trane Sigil 18 12-22-2016 12:10 PM
Highlighting linked text Julanna ePub 26 11-09-2014 04:32 PM
including RSS item pubDate in ebook text alison87 Recipes 2 02-05-2011 04:40 PM


All times are GMT -4. The time now is 12:55 PM.


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