01-11-2020, 10:34 PM | #16 | |
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:
As to the plugins handling this, I don't think it would be possible. None of them work at the point where file name would be seen. They are working at a point after calibre has already decided on what format the book is. And something Kovid as said suggests that it wouldn't be very easy to fix elsewhere as calibre is working on the extension. I haven't looked, and I have no interest in looking as the solution is to easy: rename the file. Of course, you could ask Standard Books to set the file name correctly so that you can add it to calibre properly. |
|
01-12-2020, 09:48 AM | #17 |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Standard Books needs to change their file type descriptions. They say ePub doesn't work on a Kobo and only KePub does. And then they say that ePub 3 is a more advanced format which in this case, it's not.
|
Advert | |
|
01-12-2020, 01:38 PM | #18 |
Enthusiast
Posts: 46
Karma: 32534
Join Date: Jan 2020
Device: Kobo Clara HD (patched, 100% kepubs); Calibre 5 (Win10)
|
This free and open source software under the name of Ant Renamer (FossHub download page here) made it easy, fast and painless for me to bulk-rename dozens of .kepub.epub files to .kepub
I only had to throw all the .kepub.epub files in the program, then Actions > Change extension > [leave the field 'Replace extension with' completely blank] > GO - and the files got all renamed to .kepub in an instant. (-- Even if there's an 'Undo' feature in the program, please note that Ant Renamer will rename the files in the original directory by default, so make a backup of the original files in case you are just experimenting --) Afterwards I added the resulting .kepub files to Calibre and sent them to Kobo: they are properly formatted, as expected. Thanks again for the insights and for the very useful help! Learning curve is getting less steep by the day! |
01-12-2020, 02:23 PM | #19 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
01-12-2020, 02:45 PM | #20 |
Enthusiast
Posts: 46
Karma: 32534
Join Date: Jan 2020
Device: Kobo Clara HD (patched, 100% kepubs); Calibre 5 (Win10)
|
I would, but my test has shown that 'ld get a completely different formatting from the optimized kepub that Standard Ebooks provide and recommend.
That's why I asked if there was a way for Calibre to support .kepub.epub files out of the box. As things stand, manually editing the extension and adding the file to Calibre is the only possible way to preserve the optimized formatting while using Calibre. |
Advert | |
|
01-13-2020, 05:26 AM | #21 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Also, Standard EBOOKS lies. They say they have ePub and ePub3. Yet the ePub I downloaded is ePub3. Their CSS is rubbish. The reason that the ePub and KePub are not the same is that they have no idea what they are doing. They should be making the KePub from the ePub source so anyone could do the same thing. |
|
01-13-2020, 05:00 PM | #22 |
Grand Sorcerer
Posts: 12,168
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Time for a chuckle. I was curious about how Standard eBooks formatted their content so started browsing their GitHub repository. In the tools/de/vendor/kobo_touch_extended directory you'll find kobo.py which is based on code from calibre.
The code has been restructured but appears to have the same function definitions and even the same comments in the code. I have to wonder how the kepub format created by Standard eBooks compares to that by calibre. If my PC wasn't currently dead (I think it's power supply died and I can't get out today) I'd try taking one of their Epub formatted books and converting it in calibre. |
01-13-2020, 05:27 PM | #23 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
01-14-2020, 06:17 AM | #24 | |
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:
And comparing the code in the two versions, there is no significant differences between them. Which isn't surprising as the Python code they use add the spans is a direct rip from the KoboTouchExtended driver. Hell, as @PeterT stated, it is even called "kobo_touch_extended". So, what are the differences you are seeing? |
|
01-15-2020, 06:44 PM | #25 | |
Enthusiast
Posts: 46
Karma: 32534
Join Date: Jan 2020
Device: Kobo Clara HD (patched, 100% kepubs); Calibre 5 (Win10)
|
Quote:
I had performed my test with Great Expectations and differences were there and easy too see, though. I really don't know what to think! |
|
01-15-2020, 09:23 PM | #26 | |
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:
Looking at the code in the books, the only noticeable difference is in the stylesheet with respect to hyphenation. The epub version has more options for turning on hyphenation than the downloaded kepub version. If you are use the centered option in the font settings on the device, it might produce a difference if words get split differently, but, I'm not seeing it. |
|
01-17-2020, 05:13 PM | #27 |
Enthusiast
Posts: 46
Karma: 32534
Join Date: Jan 2020
Device: Kobo Clara HD (patched, 100% kepubs); Calibre 5 (Win10)
|
I beg your pardon, the ebook that I had tested was David Copperfield.
I always set the Kobo to justify the text. Here are a few examples of different formatting between the KE>(E)>KE and the K versions of the ebook (I have only checked the first dozen of pages): The differences involve line spacing and consequently the final number of lines per page (the kepub sento to Calibre and reconverted through KTE - aka KE>(E)>KE - produces thinner line spacing => more lines per page). Of course I do believe in the lack of issues in Greatest Expectations, as I re-affirm that I didn't find any differences in Star Born just like you reported. (It could well be that they got David Copperfield's kepub completely wrong - as JSWolf suggests - and that I'm just being a dumb idiot...) |
01-18-2020, 12:01 AM | #28 |
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
|
I'm not seeing any differences between the version direct from Standard Books and the epub version sent via the KoboTouchExtended driver. Attached are screenshots from my Clara HD of the same pages. There are no obvious differences. I also did the same on my Libra H2O with the same results.
From your screenshots, it looks like you might have different font settings for the two books. It looks like you have chosen the centred option for the justification, but, I'm not sure about other options. Or, are you using patches? Or the Modify CSS option in the driver? In any case, I'm really not seeing any differences between the kepub download from the site, or using the epub and KoboTouchExtended driver. |
01-18-2020, 07:55 AM | #29 |
Enthusiast
Posts: 46
Karma: 32534
Join Date: Jan 2020
Device: Kobo Clara HD (patched, 100% kepubs); Calibre 5 (Win10)
|
I tried again the conversion - both by sending the kepub-epub and sending the epub through Calibre - and I always get the same result (files are different from the Standard Ebooks original kepub).
I even tried to disable/enable 'Clean up ePub markup' and 'Hyphenate files' options in Kobo Utilities: the result remains the same. Text is always justified (not centered). My Kobo Clara is only a couple of weeks old, I didn't patch/modify the firmware in any way, nor I did touch CSS (I wouldn't even know how to do that). Do you want me to send you the files so you can check them? |
01-18-2020, 08:17 AM | #30 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Now you can fix this with options in the KoboTouchExtended driver. But as the KePub was made, you'd have to edit the CSS to ads in the options. I have no idea of kepuify has such options to turn on kerning and hyphenation. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Touch .kepub.epub | davidfor | Kobo Reader | 233 | 01-12-2014 08:15 AM |
Aura HD Conversion of EPUB to KEPUB using Calibre | kmack9 | Kobo Reader | 15 | 09-08-2013 01:00 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 |
Plugin calibre epub to kepub | Tumeconnais | Kobo Developer's Corner | 0 | 01-16-2013 04:26 PM |
Glo KePub vs ePub | Big McLargeHuge | Kobo Reader | 11 | 11-16-2012 08:10 PM |