06-06-2020, 04:40 AM | #1 |
Banned
Posts: 23
Karma: 10
Join Date: Apr 2020
Device: none
|
TOC from epub to kepub
When converting a book from epub to kepub calibre deletes
almost all CSS instructions that define the typographic aspect of the inline table of contents. (to the left the epub, to the right the same book after a conversion to kepub) Why is this happening? Is it possible to disable this behavior? |
06-06-2020, 05:52 AM | #2 |
Resident Curmudgeon
Posts: 74,048
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Do you realize that you can delete that ToC as you don't need it You have the NCX ToC that works and it much easier to get to.
|
Advert | |
|
06-06-2020, 05:57 AM | #3 |
Banned
Posts: 23
Karma: 10
Join Date: Apr 2020
Device: none
|
|
06-06-2020, 07:07 AM | #4 |
Resident Curmudgeon
Posts: 74,048
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
06-06-2020, 07:15 AM | #5 |
Banned
Posts: 23
Karma: 10
Join Date: Apr 2020
Device: none
|
|
Advert | |
|
06-06-2020, 07:49 AM | #6 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
But, he is probably right in his second post. There is an issue with the styles on the UL or the LI tags that hasn't passed through the conversion properly. It could be an inheritance issue as the kepub adds two div's around the text. I have seen that break some styles. You can either fix it before the conversion or afterwards. I do it before the conversion. Thinking about that, I did some test conversions of a book with a list. I started with an epub and did a conversion to both kepub and to epub. In both cases, there were changes that meant that the list didn't look the same after the conversion. But, both converted books look the same. That suggests the issue is in the base conversion, not the kepub part. To make any more suggestions, we'd need to see the book. Or a sample that shows the problem. Otherwise, if you used the KoboTouchExtended driver to transform the epub to kepub during the send to book, you probably wouldn't see a problem. Unless there is an issue with the inheritance in the styles. |
|
06-06-2020, 08:43 AM | #7 |
Banned
Posts: 23
Karma: 10
Join Date: Apr 2020
Device: none
|
|
06-06-2020, 10:14 AM | #8 | |
Well trained by Cats
Posts: 29,820
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
KePub Output just stores the book IN the Library (the other do the stuff on the fly) IMHO neither will fix BAD code or correct for known device limitations (and there are those in some cases) |
|
06-06-2020, 10:30 AM | #9 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The extended driver does the work when you send the book to a Kobo device. But, it doesn't use the full calibre conversion pipeline (which is why I said "transform") and doesn't store the result in library. |
|
06-06-2020, 11:09 AM | #10 | |
Resident Curmudgeon
Posts: 74,048
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Here is the thread on kepubfy. Have a try and see what happens. https://www.mobileread.com/forums/sh...d.php?t=326652 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Annoying problem with kepub, TOC and Kobo Aura | MattDD90Murdock | Conversion | 5 | 10-10-2017 11:06 AM |
kepub vs epub chapter names in ToC? | TuxGirl | Kobo Reader | 3 | 05-03-2017 01:15 PM |
Creating epub/kepub books (docx→epub/kepub via MS Word→Calibre) | SJC-Caron | ePub | 18 | 04-21-2016 11:10 AM |
Ho do I create a TOC for ePub which does convert to an active TOC in Kindle Previewer | K-Thom | Calibre | 1 | 09-24-2013 06:32 PM |
koboish: Script that convert your epub to a kepub.epub with the correct bookcover !! | the_m | Kobo Reader | 4 | 01-24-2013 10:01 PM |