Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 02-19-2018, 06:54 PM   #106
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 14,516
Karma: 24607224
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD, Aura ONE
Quote:
Originally Posted by gilster View Post
I'm curious about this as well, and pardon my lack of experience on the point. But I do have several kepubs that display footnotes erratically, a problem because I have many books with needed footnotes. In one recent case, the popup shows about a third of the time, but on the same page I will often then get a link to a footnote page. This is problematic because it slows reading and causes multiple page refreshes.
That is going to be something in the book not matching the rules that the kepub renderer uses. I'd have to see the book to be able to guess what is going on.
Quote:
My question is: Is this entirely a kepub issue, or would the same book in epub also have the same problem? My hunch is the it may be something in kepub, but I would appreciate guidance. Many thanks!
Effectively, it is a kepub issue as the epub renderer doesn't use popups for footnotes. They are all treated as links.
davidfor is offline   Reply With Quote
Advert
Old 02-19-2018, 07:23 PM   #107
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 4,487
Karma: 21301182
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Aura One, Aura H2O, Aura HD, Nexus 7 HD, iPad Air, Tolino epos
Quote:
Originally Posted by RedHeron View Post
I've noticed something strange.

If an epub uses <p>&nbsp;</p> to make a space, kepubify seems to ignore it, and there is no space.

But if I use the Calibre plugin to convert to kepub, <p>&nbsp;</p> still works and there is a space.
You might want to open the kepubify and Calibre plugin versions in an epub editor and see what that code looks like after the conversion. It's possible that one is converting to <p>&#160</p> while the other is leaving it as <p>&nbsp;</p>. The XHTML5 spec removed most of the named character entities so you have to use the numeric character entities which makes sense since XHTML5 dropped DTDs and most of the named character entities were defined in a DTD.
DNSB is online now   Reply With Quote
Old 02-20-2018, 11:25 AM   #108
gilster
Enthusiast
gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'
 
gilster's Avatar
 
Posts: 45
Karma: 10000
Join Date: Mar 2009
Device: Kindle
Quote:
Originally Posted by davidfor View Post
Effectively, it is a kepub issue as the epub renderer doesn't use popups for footnotes. They are all treated as links.
Thanks -- I didn't realize that!
gilster is offline   Reply With Quote
Old 02-20-2018, 12:06 PM   #109
gilster
Enthusiast
gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'gilster knows the difference between 'who' and 'whom'
 
gilster's Avatar
 
Posts: 45
Karma: 10000
Join Date: Mar 2009
Device: Kindle
One further question: Is the page numbering issue also a kepub-only phenomenon? I've found that even in books I've bought at the Kobo store, I occasionally run into the weird page jumps, indicating coding trouble somewhere. I'm assuming that epub does a better job with pagination? Thanks.

Paul
gilster is offline   Reply With Quote
Old 02-20-2018, 05:48 PM   #110
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 14,516
Karma: 24607224
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD, Aura ONE
Quote:
Originally Posted by gilster View Post
One further question: Is the page numbering issue also a kepub-only phenomenon? I've found that even in books I've bought at the Kobo store, I occasionally run into the weird page jumps, indicating coding trouble somewhere. I'm assuming that epub does a better job with pagination? Thanks.
There are a lot of people who complain about the page numbering in epubs and love the way it is done in kepubs, so I don't know if they do a better job. But, there are issues with the full-book page numbering in kepubs. These are related to errors in how the books are constructed, mainly to do with chapters/files missing from the ToC. I don't use this enough to have noticed them in purchased kepubs.
davidfor is offline   Reply With Quote
Old 02-20-2018, 10:54 PM   #111
RedHeron
Junior Member
RedHeron began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2017
Device: Kobo H2O
Quote:
Originally Posted by DNSB View Post
You might want to open the kepubify and Calibre plugin versions in an epub editor and see what that code looks like after the conversion. It's possible that one is converting to <p>*</p> while the other is leaving it as <p>&nbsp;</p>. The XHTML5 spec removed most of the named character entities so you have to use the numeric character entities which makes sense since XHTML5 dropped DTDs and most of the named character entities were defined in a DTD.
That's a good idea, so I tried checking the two versions in an editor.

The Calibre plugin changes it to <p>&#160</p>.
Kepubify changes it to <p></p>.

I tried changing the instances of <p>&nbsp;</p> in the original epub to <p>&#160</p>, and then converted with kepubify, to see if there was any difference.
Like before, it still changed it to <p></p>.

So I guess that explains why the spaces are disappearing.
RedHeron is offline   Reply With Quote
Old 02-20-2018, 11:52 PM   #112
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 4,487
Karma: 21301182
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Aura One, Aura H2O, Aura HD, Nexus 7 HD, iPad Air, Tolino epos
Quote:
Originally Posted by RedHeron View Post
That's a good idea, so I tried checking the two versions in an editor.
The Calibre plugin changes it to <p>& #160 ;</p>.
Kepubify changes it to <p></p>.

I tried changing the instances of <p>&nbsp;</p> in the original epub to <p>& #160 ;</p>, and then converted with kepubify, to see if there was any difference.
Like before, it still changed it to <p></p>.

So I guess that explains why the spaces are disappearing.
Thanks for the feedback. I had to add some spaces as Mobileread's quote function kept changing the numeric entity to a space.

Last edited by DNSB; 02-20-2018 at 11:57 PM.
DNSB is online now   Reply With Quote
Old 02-21-2018, 04:57 AM   #113
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 52,209
Karma: 45960469
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Before converting to kepub, just go into the code and fix all those nasty bits of poor coding. Use CSS to do it. Problem solved.
JSWolf is offline   Reply With Quote
Old 03-03-2018, 11:56 PM   #114
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 600
Karma: 1706359
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Kobo Aura Edition 2, Moto G5
Quote:
Originally Posted by RedHeron View Post
That's a good idea, so I tried checking the two versions in an editor.

The Calibre plugin changes it to <p>*</p>.
Kepubify changes it to <p></p>.

I tried changing the instances of <p>&nbsp;</p> in the original epub to <p>*</p>, and then converted with kepubify, to see if there was any difference.
Like before, it still changed it to <p></p>.

So I guess that explains why the spaces are disappearing.
Sorry for not responding earlier, I was away for a while. I'll look into this issue now and fix it in the next version (which will have many other major changes too).
geek1011 is offline   Reply With Quote
Old 03-04-2018, 10:30 AM   #115
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 600
Karma: 1706359
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Kobo Aura Edition 2, Moto G5
I have finished version 2.0. Please use my new post for discussing it instead of this one.

I created a new thread to avoid confusion, as the syntax and features of kepubify have changed quite a bit.
geek1011 is offline   Reply With Quote
Reply

Tags
conversion, epub, kepub, tool

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aura H2O Font size mismatch (downloaded epubs via Calibre vs. Kobo epubs & articles) Oolong Kobo Reader 23 04-23-2017 08:03 PM
Tool to automatically download and check epubs skreutzer Workshop 26 12-14-2015 12:28 PM
Touch Problem with all epubs, my epubs, or my kobo? (line clipping) plague006 Kobo Reader 14 12-02-2011 11:32 PM
Epub check tool: ePubs do not pass Portnull Calibre 32 11-04-2009 08:27 AM


All times are GMT -4. The time now is 11:16 AM.


MobileRead.com is a privately owned, operated and funded community.