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 10-21-2019, 07:11 AM   #1
Calenorn
Brash Fumbler
Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.Calenorn ought to be getting tired of karma fortunes by now.
 
Posts: 1,160
Karma: 8710811
Join Date: May 2013
Device: NST, Kobo Mini
Widows and Orphans

What is the Kobo firmware default for widows and orphans? 2 or 3, I would guess.

Can this be over-ridden by a book's CSS?

Hope this is an easy question. Thanks for helping an amateur!
Calenorn is offline   Reply With Quote
Old 10-21-2019, 07:31 AM   #2
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: 74,033
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Calenorn View Post
What is the Kobo firmware default for widows and orphans? 2 or 3, I would guess.

Can this be over-ridden by a book's CSS?

Hope this is an easy question. Thanks for helping an amateur!
Widows and orphans default to 2 for both.

You can override this in the CSS. This is the CSS code I use.

Code:
body {
  widows: 1;
  orphans: 1;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  text-align: justify;
}
There is also a patch for the 4.18.x firmware to set the default widows and orphans to 1.
JSWolf is offline   Reply With Quote
Advert
Old 10-21-2019, 09:12 AM   #3
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: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by JSWolf View Post
Widows and orphans default to 2 for both.

You can override this in the CSS. This is the CSS code I use.

Code:
body {
  widows: 1;
  orphans: 1;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  text-align: justify;
}
The only issue with that is that if the widows and orphans are set in the paragraph styles, this will not override them. You will need to remove those as well.

And kepub ignore the widows and orphans in the CSS and always use 1.
davidfor is offline   Reply With Quote
Old 10-21-2019, 10:52 AM   #4
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: 74,033
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by davidfor View Post
The only issue with that is that if the widows and orphans are set in the paragraph styles, this will not override them. You will need to remove those as well.

And kepub ignore the widows and orphans in the CSS and always use 1.
Thanks for that reminder. I did forget that I do remove any instances of windows and orphans and all I'm left with it the ones in <body>.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Content Widows and Orphans on Kindle cc_in_oh Amazon Kindle 3 08-11-2016 11:38 AM
Pagebreak, widows and orphans UncleIvor ePub 17 09-11-2015 11:12 AM
Touch Widows and Orphans and firmware, oh my! MacEachaidh Kobo Reader 5 05-02-2013 11:14 AM
using widows & orphans cybmole Sigil 11 05-16-2011 01:07 AM
Widows and Orphans danrodney ePub 10 12-08-2010 02:08 PM


All times are GMT -4. The time now is 07:47 AM.


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