![]() |
#1 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 574
Karma: 7058832
Join Date: Apr 2019
Location: East Coast, United States
Device: Kobo Sage, Kobo Clara HD, Galaxy Tab S5e, Kindle 4th Gen
|
Can't tell if this is a bad conversion or a bad source file.
I purchased a couple fantasy anthology books from Amazon. Surprisingly, they showed up in my library as a MOBI rather than an AZW3 after DeDRM imported them. They seem to work well enough on the Kindle itself (there are chapter markers, table of contents, time remaining, etc), but the converted EPUB had none of these things evident when I transferred it to my Kobo.
I've opened the MOBI file in Foliate, and I can still see a TOC, but this disappears when I convert it to EPUB--the resulting EPUB's toc.ncx only has a title marker in it. In looking at the raw HTML, I'm finding more weirdness. I can't find any header tags, for one thing, and even more bizarre, the core body of each chapter (each a standalone short-story or novella) is basically a single line! I've attached both a screenshot of the MOBI file open in Foliate, showing the TOC nav, as well as a scrambled version of the EPUB (I can't run the MOBI itself through Calibre's ScrambleEbook tool). Looking for suggestions on how best to clean this up. The whole text being on one line is kinda weird, but as long as it renders okay on the device, I don't care too much. At the very least I just want:
so that I can easily hop between stories. This text had a "sequel" work with the same problems, so whatever solution I come up with for the first I can also apply to the second. Thanks in advance! |
![]() |
![]() |
![]() |
#2 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 450
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
|
The epub does indeed have only one entry in the TOC, which may be from some conversion settings?? Try converting it with bog-standard defaults.
But its dead easy to fix the epub: Use the TOC editor, which you can get to from the Editor or (I think) the main gui window (You might have to add it to the menu bar...). Each chapter is a file in the epub, so erase the one entry it has, and rebuild the TOC "From files". You might want to fiddle the default chapter names, can't tell from the scrambled file, but that will make a complete TOC. |
![]() |
![]() |
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Apparently, the chapter headings have been formatted as blockquotes.
To get a working TOC:
Last edited by Doitsu; 02-06-2022 at 01:09 AM. |
![]() |
![]() |
![]() |
#4 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 574
Karma: 7058832
Join Date: Apr 2019
Location: East Coast, United States
Device: Kobo Sage, Kobo Clara HD, Galaxy Tab S5e, Kindle 4th Gen
|
Thanks for the advice. Generating a TOC from major headings (or headings at all) did not seem to work, but I used the option "Generate TOC from files", and that gave me something I could work with, after I removed some entries (all of the author blurbs were in standalone files). The "beautify HTML" option also un-flattened all of the core text and made it more readable.
Once I did those, the resulting EPUBs had a working ToC, and seemingly chapter markers as well: my Kobo detected chapters at each ToC point. Both books are looking great now. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Note 10.3 - bad battery or bad firmware? | LordP | Onyx Boox | 3 | 05-23-2019 08:00 AM |
Bad conversion of foreign quotes | SleepyBob | Conversion | 2 | 06-15-2015 11:39 AM |
EPUB to RTF Conversion Gone Bad | Trester | Conversion | 9 | 03-17-2011 01:12 PM |
Bad PDF to ePub Conversion | xxx666yyy777 | Calibre | 10 | 12-11-2010 07:42 AM |
Bad character breaking conversion? | wygit | Calibre | 1 | 10-23-2009 07:32 AM |