Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-07-2025, 10:42 AM   #1
broom
Junior Member
broom began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2025
Location: United Kingdom
Device: Kobo Clara BW
KEPUB chapter titles include links: can't tap to turn page

Hi,

I started reading a library book from Overdrive on my Clara BW but hit an odd issue. Once I got beyond all the front matter and into the book proper I stopped being able to turn the page as normal. Every time I tapped the screen I'd jump back to the table of contents. I found that I was able to turn the page by swiping, but it was very irritating each time I forgot to swipe and ended up back at the TOC.

I was able to download the ADE version of the EPUB from Overdrive via Libby, DeDRM it and sideload it as KEPUB via Calibre. It showed the same problem. Looking at the source of the EPUB I noticed that all the affected chapters included a link back to the TOC, like this:

Code:
<p class="CT" id="ch01_ch_001"><a href="ch04.xhtml#tocch01_ch_001"><span class="ChapLabel">1</span> Slightly Depressed</a></p>
I modified a copy of the EPUB to remove the links, e.g. changing the above to:

Code:
<p class="CT" id="ch01_ch_001"><span class="ChapLabel">1</span> Slightly Depressed</p>
and found that I then had no trouble using my normal tap to turn the pages.

Does anyone know if this is expected behaviour? It seems very odd to me that a link would steal the focus of a tap in this way, and especially so after I've turned several pages so that the link is no longer on the screen. Does this happen for all links, or is there likely some other aspect of this particular KEPUB that causes it? Should EPUBs just not have links? Is it an issue with the title that I should report to Overdrive/Libby somehow?

Or is there a setting that I'm missing that could mitigate this oddness? Or any other ideas? Though I've been able to workaround the problem for this book, it's only by bypassing the DRM... is that something I'm likely to have to do again?

Thanks in advance.

(I searched this forum for similar reports and only turned up this thread from 2014: Chapter problem on Kobo kepub book. It seems to describe a similar issue and identifies links as the likely problem, but doesn't get any further.)
broom is offline   Reply With Quote
Old 04-07-2025, 04:22 PM   #2
Daniel Jackson
SG-1
Daniel Jackson began at the beginning.
 
Daniel Jackson's Avatar
 
Posts: 25
Karma: 10
Join Date: Dec 2021
Device: Libra 2
Chapter titles being links back to the TOC is pretty common, a lot of books have it and it should normally not be a problem.
But in your case it seems to behave as if the <a href> tag is extended to the entire chapter text.
When you're editing the book in Calibre and you put the cursor inside the <a href> tag, is the correct closing </a> tag properly highlighted?
Daniel Jackson is offline   Reply With Quote
Advert
Old 04-07-2025, 06:02 PM   #3
Aleron Ives
Wizard
Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.
 
Posts: 1,688
Karma: 16307824
Join Date: Sep 2022
Device: Kobo Libra 2
Books can be malformed in all sorts of ways. If the entire chapter is treated as a link to the TOC, then yes, you won't be able to tap anywhere. Editing the book as you've done is the only solution (other than swiping, since the Clara doesn't have page turn buttons).
Aleron Ives is offline   Reply With Quote
Old 04-07-2025, 06:14 PM   #4
graycyn
Wizard
graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.
 
Posts: 1,591
Karma: 11722446
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Pocketbook Era, Kobo Forma, Kindle Oasis 2
Quote:
Originally Posted by Daniel Jackson View Post
Chapter titles being links back to the TOC is pretty common, a lot of books have it and it should normally not be a problem.
But in your case it seems to behave as if the <a href> tag is extended to the entire chapter text.
When you're editing the book in Calibre and you put the cursor inside the <a href> tag, is the correct closing </a> tag properly highlighted?
I personally hate it when publishers do this. It isn't necessary and hasn't been for a long time. The worst is when they either use honking big text for the chapter header, or still worse, an image, because then, tapping anywhere at the top of the book will likely activate the link and jank you over to the ToC unawares.

Usually it's not so bad that you can't turn the page from the bottom half of the book, but then again, if one reads at larger font sizes as I need to do, those linked chapter headings can become obnoxious pretty quickly.
graycyn is offline   Reply With Quote
Old 04-08-2025, 10:34 AM   #5
fogice
Addict
fogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Time
 
Posts: 254
Karma: 49504
Join Date: May 2014
Device: Kobo Libra 2
The quick and dirty fix is to delete the TOC file, then Check Book. This will then remove all the links that point back to the TOC. Finally, generate a new TOC.

Make sure you have a copy of the file as a backup before you do this.
fogice is offline   Reply With Quote
Advert
Old 04-08-2025, 09:03 PM   #6
broom
Junior Member
broom began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2025
Location: United Kingdom
Device: Kobo Clara BW
Thanks all for your help.

Quote:
Originally Posted by Daniel Jackson View Post
When you're editing the book in Calibre and you put the cursor inside the <a href> tag, is the correct closing </a> tag properly highlighted?
Yes it is, and I don't see anything that's obviously malformed.

Maybe I can cut out contents from the book to make a minimal example of the problem... I might come back to this later.

Quote:
Originally Posted by fogice View Post
The quick and dirty fix is to delete the TOC file, then Check Book. This will then remove all the links that point back to the TOC. Finally, generate a new TOC.
I might try this out sometime, too. I had a quick play and found the Check Book option in the Calibre Editor and was able to use it to remove the links. I couldn't quite understand how to generate a new TOC though.
broom is offline   Reply With Quote
Old 04-20-2025, 06:43 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,743
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I delete all of those useless annoying chapter header links. I don't need them and I don't want them. I use Diap's Editing Toolbag in the calibre editor to do this. It's very easy and can be done on one go.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable single tap to turn page fbrzvnrnd KOReader 4 10-02-2020 11:53 PM
How to disable tap to turn page in Koreader redtiger KOReader 2 02-10-2019 10:41 PM
Custom tap page turn zones ReaLx3m Kobo Reader 8 10-20-2017 07:41 AM
Disable touch screen page-turn on tap? roteg Calibre 5 12-25-2014 01:38 AM
PDF - tap to turn page? timmins Reading and Management 3 06-24-2008 04:35 PM


All times are GMT -4. The time now is 05:15 PM.


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