![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 243754
Join Date: Jan 2022
Device: Kobo Libra 2
|
Empty chapters in reading stats
Hi,
I have been reading a couple of books on my Kobo Libra 2 and I noticed that with some books, the reading stats aren’t quite right, as the chapters progress bars seems to be duplicated. With some books, you see one bar for each chapter, all together; but with other books, it shows one bar for each chapter and an empty bar between chapters. The index is fine and it works right and there are not blank pages between chapters. I don’t know what’s going on. It doesn’t happen with all the books. I didn’t make any changes in Calibre other than covers and metadata. It’s a problem with the conversion process or is just related with bad book formatting? It’s a minor issue but I will like to know if I have to change something in Calibre. Thank you. |
![]() |
![]() |
![]() |
#2 |
Bookworm
![]() Posts: 10
Karma: 10
Join Date: Jan 2022
Location: Australia
Device: Kindle Paperwhite, Kobo Libra 2
|
Is the book .kepub format?
I noticed that all the problems with the book (wrong chapter page count, or not showing, inability to change font, inability to invert into black/white) are solved if it is converted into kepub format. |
![]() |
![]() |
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 243754
Join Date: Jan 2022
Device: Kobo Libra 2
|
Yes, I am just using kepub for now.
|
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,466
Karma: 46824438
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Code:
<body> <h2 id="chapter1">Chapter 1</h2> <p>It was a dark and stormy night...</p> </body> Code:
<navPoint id="title_page" playOrder="0"> <navLabel> <text>Chapter 2</text> </navLabel> <content src="OEBPS/chapter2.xhtml#chapter1"/> </navPoint> What I do depends on the book. If the code is as simple as above, then I will remove all the ids from tags and regenerate the ToC. I have had a few books recently that had an image above the chapter title. For these, I sometimes create a hidden chapter heading for the ToC generation and use styles for the displayed heading. But, sometimes I just edit the generated ToC and remove the fragments. |
|
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 243754
Join Date: Jan 2022
Device: Kobo Libra 2
|
I see. And it happens due to conversion or it is just book related?
If it’s a book related thing is something that will keep happening from time to time so I think I won’t mind changing it book by book. Thank you! |
![]() |
![]() |
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,466
Karma: 46824438
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I think all of the cases I have seen have been in books I have purchased. I think at least one of the ebook creation tools tends to add the fragments and anchors when they aren't strictly needed. I don't know which, just that I think it has occurred in books that have had similar looking code.
I'm pretty sure I have seen it after using the ToC generation tool in calibre. That can add an id to a heading when it isn't the first tag in the body. But, I'm not sure of the exact pattern to cause this. And if the ToC tool can do it, then a conversion could. I rarely do conversions, so I am not sure. |
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 243754
Join Date: Jan 2022
Device: Kobo Libra 2
|
I just convert AZW3 to EPUB with default settings.
I will put my money on the book related cause. For example, I have a couple of books with left aligned headings. I downloaded the sample of the same books from the Kobo store and they have the same left heading alignment. If I view them with Calibre they are all center aligned. So I think that it is just how Kobo reader deals with the book coding. Thank you! Last edited by PunkyKoopa; 01-24-2022 at 09:50 AM. |
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,048
Karma: 4234383
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
|
Aha,,, That's an important detail. If the problem is not the anchors in the original book, Calibre has a habit of aggressively splitting chapter headers and text into separate files (if there is either a graphic at the top of the page, or Subtitle headings.) You can stop it doing this. When converting a book, in the 'Structure Detection' section, change Chapter Mark to 'none'. Also, 'Insert Page Break Before:' should be a single / . This will prevent Calibre from adding page breaks, which is generally not needed when you are converting from already formatted e-books. These settings can also be made default in your preferences. |
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,466
Karma: 46824438
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Of course, you can also use the left-align button when reading on the device, and that will override any centring done in the styles. |
|
![]() |
![]() |
![]() |
#10 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,466
Karma: 46824438
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
And my experience with conversion does not match yours. The default conversion options will split on what looks to be a chapter heading. And if there is an image or something before that heading, that image is likely to be left at the end of the previous chapter. Or, split into a separate file. But, the defaults are based around simple chapter headings. They assume either a h1 or h2 tag or a paragraph with a style or id with "chapter" as part of the name. If the book has something other than this, you need to change the rules used for the split. Look for a better choice on where to put the file split so that everything for each chapter is kept in the same file. I'll admit I rarely do that. If I'm converting from another format, I am as likely to let it happen, then merge and split the files in the editor. That lets me see the code where the spits should happen. |
|
![]() |
![]() |
![]() |
#11 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,048
Karma: 4234383
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
|
Quote:
The Book should already be split, Calibre trying to apply it's own logic is at best not helping anything, at worse, making a complete mess of the book. I have spent *way* too much time fixing books by hand to not appreciate how easy it is for the calibre defaults to make a mess of this. |
|
![]() |
![]() |
![]() |
#12 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 243754
Join Date: Jan 2022
Device: Kobo Libra 2
|
Quote:
I tried also to change the settings in Calibre regarding empty chapters and I still having the issue. As I don’t want to mess with book and CSS code, I think that I will leave it as it is now. Thank you! |
|
![]() |
![]() |
![]() |
#13 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,466
Karma: 46824438
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
We can look and see if you post the links to the book in question. |
|
![]() |
![]() |
![]() |
#14 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 243754
Join Date: Jan 2022
Device: Kobo Libra 2
|
Quote:
https://www.kobo.com/es/es/ebook/el-marciano-3 Those are the links. It’s just strange how the book from Amazon converted to kepub and the same book from Kobo Store are rendered the same way. That’s what I say it’s a Kobo thing. |
|
![]() |
![]() |
![]() |
#15 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 243754
Join Date: Jan 2022
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with TOC with empty chapters | Matak | Conversion | 1 | 09-27-2014 11:54 PM |
Glo Reading Life Reading Stats inaccuracy | Uschiekid | Kobo Reader | 18 | 02-08-2014 08:57 PM |
Glo How to access Reading Menu Stats reading sideloaded epubs | cinetici | Kobo Reader | 23 | 05-27-2013 07:43 AM |
Reading stats | Pardoner | General Discussions | 20 | 06-25-2012 01:11 PM |
Sigil and epub (can I delete empty chapters?) | desaderal | Sigil | 3 | 03-24-2011 07:57 AM |