View Single Post
Old 09-09-2017, 12:00 AM   #22
Chris Jones
Addict
Chris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five words
 
Posts: 242
Karma: 37089
Join Date: Oct 2012
Device: none
Quote:
Originally Posted by davidfor View Post
The problem is that epubs are handled by the RMSDK. If that doesn't support something, then Kobo can't support it. Their kepub format is renderer is based ACCESS NetFront (though it might be Readium now), so it supports whatever that does. I have attached a screenshot taken on my Kobo Glo of the sample that I thought was posted in this thread converted to kepub. I don't know what is used for the HTML, but they use Webkit for the browser, so that's probably what being used.
How exactly did you convert your epub to kepub? I've tried different approaches and the kepub… result is always the same. The Kobo displays a blank page… waits a couple of seconds… flashes twice… and then I get the five black squares… presumably to let me know the application has crashed and it's rebooting. After what feels like perhaps one minute or so the Kobo displays the Home screen. If I try a second time etc. it takes me through the same motions.

Maybe I misunderstood something about how you're supposed to do the conversion via Calibre?

My understanding was that once the KoboExtendedTouch plugin was active the conversion was done on the fly while transferring the book… leaving the epub version in Calibre untouched and copying a kepub.epub version of the book to the device.

Quote:
Is the book big or have a big ToC? If so, you probably hit a problem with the first time you open a larger or more complicated kepub. Usually they open OK after the restart.
What would be "big"? The file is 1.3M in size… the Adobe numbers tell me there are 1132 pages and as to the (nested) ToC it has three levels and approx. 800 nodes.

Quote:
I don't know if that will work on the device. I don't know if a link to another HTML file will open the file. But, I don't remember anyone say it does or doesn't work. But, as stated above, the kepub will probably open the second time you try, so this shouldn't really be needed.
You were right about having doubts about this. Not only does it fail to recognize links to other files… but even links to another part of the same file do not work. I dumped my inline ToC entries right at the beginning or the <body> of the single file that contains the <style> definitions together with the html markup and the text and the inline table of contents does show up at the beginning of the book on the Kobo… with the letters in some shade of medium gray instead of black… but whatever I try with entries… press… long press… nothing happens. Of course I had verified in a web browser that my ToC entries were functional prior to transferring the book.

As a matter of fact support of text/html file appears to be… rather incomplete. Another example: I tried to do a search via the icon at the top right of the screen selecting "Current Read" in the pull-down menu of options and that does not do what you'd expect… It runs the search against… the Kobo User Manual instead…!

Yet another thing that does not work as expected is that the CSS classes I defined for first and second level titles specify "text-align:center" but this property is not correctly rendered. These titles show up either left-aligned or justified (left+right) with many spaces in between the words. Even though this works fine in Firefox, Chrome, or Readium…

I thought that perhaps Kobo's renderer found something wrong either with my classes or the html markup… and was just silently ignoring my definitions… Just in case… I ran the usual validation tools against my file and got no errors.

Anyway, if you can spare the time and give me step by step instructions on how you exactly do the kepub conversion… I'll give it one more try and move on.

Perhaps open a ticket with Kobo if that's at all possible..?

Thanks…!
Chris Jones is offline   Reply With Quote