Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 08:16 AM   #1
Siavahda
Groupie
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 166
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
EPUB text not filling screen

I've only had my Kobo Clara Colour for a few weeks, so please be gentle, I'm still getting the hang of it.

I have an EPUB that is introducing pagebreaks about halfway or three-quarters of the way down the screen. It's not every page, but it's not random - if I change the font size, the breaks occur on the same sentence/line, even if the actual word the break happens on changes.

But when I break open the EPUB in the Calibre editor, there doesn't seem to be a cause for it. If anything, EVERY paragraph now has page-break-after: avoid in the css. (No idea why someone built it that way, but whatever.)

When I add the book as KEPUB, there are none of these breaks, the text fills the whole screen properly.

This is the first book where I experimented a bit to see if the breaks were always in the same place, and the first time the pagebreaks occurred so high on the screen, but I've noticed while reading other EPUBs that occasionally the text doesn't go down to the bottom of the screen, even when there's not supposed to be a pagebreak. For no apparent reason that I can figure out.

Is this just something I have to live with, ie a fact of life if I use EPUB not KEPUB? Or is there a way to fix this? It's not a huge issue, but it's annoying.

(KEPUB isn't an option because its inability to display em dashes properly causes me unreasonable amounts of distress, so.)
Siavahda is offline   Reply With Quote
Old Today, 08:25 AM   #2
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 15,314
Karma: 247660767
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
It's widows and orphans. They can be different from book to book; kepubs ignore the css rules for them, but epubs respect them. To get rid of them in epubs, you'll need to change them to 1 or just delete them in the book css if they're 2 or more, and add the following in the Kobo configuration file (eReader.conf in .kobo/kobo):

[Reading]
readingAdobeOrphans=1
readingAdobeWidows=1
Sirtel is offline   Reply With Quote
Advert
Old Today, 08:35 AM   #3
Siavahda
Groupie
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 166
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Talking

Quote:
Originally Posted by Sirtel View Post
It's widows and orphans. They can be different from book to book; kepubs ignore the css rules for them, but epubs respect them. To get rid of them in epubs, you'll need to change them to 1 or just delete them in the book css if they're 2 or more, and add the following in the Kobo configuration file (eReader.conf in .kobo/kobo):

[Reading]
readingAdobeOrphans=1
readingAdobeWidows=1
Thank you! I edited the configuration file no problem, but I can't find anything about widows or orphans in the CSS of the ebook. Are they called something else?

Just editing the config file seems to have been enough, though, the book's displaying perfectly now! Thanks so much!
Siavahda is offline   Reply With Quote
Old Today, 08:37 AM   #4
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 15,314
Karma: 247660767
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Siavahda View Post
Thank you! I edited the configuration file no problem, but I can't find anything about widows or orphans in the CSS of the ebook. Are they called something else?

Just editing the config file seems to have been enough, though, the book's displaying perfectly now! Thanks so much!
Glad to hear that. No, they're called exactly that, widows and orphans. Maybe the book itself didn't have them then.
Sirtel is offline   Reply With Quote
Old Today, 08:55 AM   #5
Siavahda
Groupie
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 166
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
So noted. I wondered, because I've never seen them in CSS before.

Unrelated: do you know if AutoUsbGadget is still working when added to the config file? Does it need to be in a particular section of the file? Because I can't seem to get it working.
Siavahda is offline   Reply With Quote
Advert
Old Today, 09:18 AM   #6
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 15,314
Karma: 247660767
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Siavahda View Post
So noted. I wondered, because I've never seen them in CSS before.

Unrelated: do you know if AutoUsbGadget is still working when added to the config file? Does it need to be in a particular section of the file? Because I can't seem to get it working.
Sorry, I don't use it, so no idea.
Sirtel is offline   Reply With Quote
Old Today, 09:19 AM   #7
Siavahda
Groupie
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 166
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Never mind. Thank you so much for the widows and orphans fix!
Siavahda is offline   Reply With Quote
Old Today, 09:50 AM   #8
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 15,532
Karma: 114630301
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by Siavahda View Post
Thank you! I edited the configuration file no problem, but I can't find anything about widows or orphans in the CSS of the ebook. Are they called something else?

Just editing the config file seems to have been enough, though, the book's displaying perfectly now! Thanks so much!
If the css doesn't specify, then usually a default of 2 is used on the basis that a single line at the bottom or top can be disorientating.

You can't set 0 as that is meaningless.
Quoth is offline   Reply With Quote
Reply

Tags
display error, epub, kobo clara, pagebreak


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OCR'd PDF to EPUB/TXT/etc. not copying text over (text under image). Tenome Conversion 1 10-24-2022 10:17 AM
Generate epub using text-recognized text in PDF not Pictures. lordofazeroth Conversion 0 09-19-2013 04:16 PM
Touch Cover not filling entire screen since 1.9.9 Canorka Kobo Reader 14 10-15-2011 01:40 PM
First filling mnester iRex 1 09-21-2006 08:10 AM


All times are GMT -4. The time now is 12:57 PM.


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