![]() |
#1 |
Junior Member
![]() 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? |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() 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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() 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.
|
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() 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?
|
![]() |
![]() |
![]() |
#7 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Oct 2020
Device: desktop
|
Thanks. I'll keep that in mind.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
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 |