Thread: Touch Kobo Touch Firmware 2.0
View Single Post
Old 08-09-2012, 02:33 PM   #820
Mrs_Often
Wizard
Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.
 
Mrs_Often's Avatar
 
Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
Quote:
Originally Posted by DNSB View Post
The default value for the widows and orphans is 2 so if a paragraph would leave 1 or 2 lines at the bottom of a page (orphans) or 1 or two lines at the top of the next page (widows), the entire paragraph will be moved to the next page. I've set this to 1/1 in my default stylesheet used when I edit epubs which reduces the number of times this happens. I've never tried using 0 for both which should in theory disable widow and orphan checking. The sample settings I use for chapters ( <body class="chapter"> ) is included below. Disregard the .webkit lines at they used when reading epubs on an Apple idevice. Also this only works for epub files, Kobo's kepub is a rather different kettle of fish.


.chapter {
display: block;
font-size: 1em;
margin-bottom: 5pt;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 5pt;
padding-left: 0;
padding-right: 0;
text-align: left;
word-wrap: normal;
widows: 1;
orphans: 1;
-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;
-webkit-hyphens: none;
}

Hah, thank you DNSB. I didn't know orphans and widows were something I could set myself Strange though that KT firmware 2.0.x suddenly treats them differently than before.
Mrs_Often is offline   Reply With Quote