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 12-09-2020, 01:47 PM   #1
keres
Junior Member
keres began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2020
Device: desktop
Anchors not reaching destination correctly

I have lots of cross-references to add to a document. Half the book is made up of Appendix items. I've set up the first and it's not working correctly. It's supposed to find Appendix Item #26, but when I click the link, (while using Chrome's ebook reader) it only get halfway through Appendix 20.

The anchor link is:

<p class="appendix"><a href="Appendix.xhtml#A-26">Appendix #26. Poplar Ridge Friends Meeting</a></p>

Then, on the Appendix.xhtml file I've coded:

<h2 id="sigil_toc_id_119"><a id="A-26">26. Poplar Ridge Friends Meeting, July 8, 2014</a></h2>

Any suggestions?
keres is offline   Reply With Quote
Old 12-09-2020, 02:21 PM   #2
keres
Junior Member
keres began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2020
Device: desktop
Edit to above

Just noticed that TOC is not working correctly for this section of the book, either.
keres is offline   Reply With Quote
Advert
Old 12-09-2020, 02:50 PM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,381
Karma: 5702076
Join Date: Nov 2009
Device: many
Does it work in Sigil and Calibre?

What version of Sigil are you using on what platform?

Could you have a duplicate id someplace earlier in the destination file that is set to "A-26"? Or perhaps "a-26" and your reader is not treating the id properly as case sensitive?

Last edited by KevinH; 12-09-2020 at 02:56 PM.
KevinH is offline   Reply With Quote
Old 12-09-2020, 06:58 PM   #4
keres
Junior Member
keres began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2020
Device: desktop
It works properly in Sigil. I'm wondering if the problem might have to do with all the large image files in that 'chapter.' Perhaps that's creating a lag in display. I'm going to try making each appendix item its own file.
keres is offline   Reply With Quote
Old 12-09-2020, 07:02 PM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,381
Karma: 5702076
Join Date: Nov 2009
Device: many
I would double-check as google ebooks have problems as they do not treat ids as case sensitive.
KevinH is offline   Reply With Quote
Advert
Old 12-09-2020, 07:04 PM   #6
keres
Junior Member
keres began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2020
Device: desktop
The links are calling for the anchors in a case-sensitive correct way. Is that what you mean?
keres is offline   Reply With Quote
Old 12-09-2020, 07:13 PM   #7
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,381
Karma: 5702076
Join Date: Nov 2009
Device: many
I mean if the id="A-26" and id="a-26" both exists in the same file, google ebooks may get the destination wrong as it seems to treat them as identical (they compare using a case-insensitive manner) whereas the epub spec clearly states they should be treated as different ids (ie case sensitive comparisons). Both Sigil and calibre follow the spec. This can be an issue with the ids used in the opf as well.
KevinH is offline   Reply With Quote
Old 12-09-2020, 07:16 PM   #8
keres
Junior Member
keres began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2020
Device: desktop
Thanks. I'll keep that in mind.
keres is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Annotation anchors net-buoy Editor 3 05-15-2018 03:40 PM
Anchors in posts? unboggling Feedback 16 05-17-2015 03:18 PM
Links and anchors dicknskip Sigil 6 04-11-2013 11:43 PM
Reaching out to find the best solution for my business! tommie Introduce Yourself 4 09-30-2011 05:28 PM


All times are GMT -4. The time now is 03:46 PM.


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