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 03-01-2023, 10:41 AM   #31
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 1,017
Karma: 2003162
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
Quote:
Originally Posted by jackie_w View Post
No inside information, but in those days we did have @davidfor (R.I.P.) which was almost as good.
Yes, he is duly missed.

Quote:
Originally Posted by jackie_w View Post
I auto-apply whatever is needed (if anything) during my send-to-device process.
Hmm, now that is a thought
I did once thought to add device specific settings in the CSS, but never could figured out how to determine that the epub was processed on a kobo device. It should be possible, however.

Quote:
Originally Posted by jackie_w View Post
Yes, except for item 1 (kobo hardcoded defaults), because I don't know what you mean by it.
Ah, well during coding some parameter initial default value setting might be in order (orphans=void), which is then updated during the program run (recalculated somehow), then updated by reading program invocation arguments, then updated by reading configuration files, then updated by reading files to be processed, etc.
So in this case it could be orphans=2 and remain that until it is overridden, if ever.

Last edited by DrChiper; 03-01-2023 at 10:44 AM.
DrChiper is offline   Reply With Quote
Old 03-01-2023, 02:15 PM   #32
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by jackie_w View Post
If it's just widows/orphans I probably wouldn't have noticed because I have also set
Code:
[Reading]
readingAdobeOrphans=1
readingAdobeWidows=1
in the Kobo config file to take care of epubs. And kepubs have always ignored widows/orphans CSS.
That is interesting as I, too, have the above set in my Kobo config file but it seems to be ineffective with O & W set to 1 in the body. DrChiper's suggestion has solved the problem in a couple of books (so far).
Skydog is offline   Reply With Quote
Old 03-01-2023, 02:24 PM   #33
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: 13,475
Karma: 239219543
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Skydog View Post
That is interesting as I, too, have the above set in my Kobo config file but it seems to be ineffective with O & W set to 1 in the body. DrChiper's suggestion has solved the problem in a couple of books (so far).
So far it's working for me. Did you remove the existing w & o values from the css?
Sirtel is offline   Reply With Quote
Old 03-01-2023, 02:51 PM   #34
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by Sirtel View Post
So far it's working for me. Did you remove the existing w & o values from the css?
The few I am experimenting with have no existing o & w, other than those I have in the body. The application to the <p> tag(s) I understand but I am a bit fuzzy on exactly which (all?) <div> tags should be edited.
Skydog is offline   Reply With Quote
Old 03-01-2023, 03:02 PM   #35
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: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Would it work if Windows and orphans were put in * or html or marked with !important?
JSWolf is online now   Reply With Quote
Old 03-02-2023, 04:40 AM   #36
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 1,017
Karma: 2003162
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
Quote:
Originally Posted by Skydog View Post
That is interesting as I, too, have the above set in my Kobo config file but it seems to be ineffective with O & W set to 1 in the body.
If I understand this correctly, when having orphans/widows in the kobo config file settings AND in the CSS <body> definition they cancel each other out? That's odd. Or, possibly, they are added to each other resulting in O/W=2 which certainly disrupt the expected behavior..

Quote:
Originally Posted by Skydog View Post
DrChiper's suggestion has solved the problem in a couple of books (so far).
That's great to hear.
DrChiper is offline   Reply With Quote
Old 03-02-2023, 09:18 AM   #37
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: 13,475
Karma: 239219543
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by DrChiper View Post
If I understand this correctly, when having orphans/widows in the kobo config file settings AND in the CSS <body> definition they cancel each other out? That's odd. Or, possibly, they are added to each other resulting in O/W=2 which certainly disrupt the expected behavior..
Nope. I have had this exact setting on 3 Kobos now and it works as intended. Why it seems not to work for Skydog is a mystery to me.
Sirtel is offline   Reply With Quote
Old 03-02-2023, 02:52 PM   #38
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by Sirtel View Post
Nope. I have had this exact setting on 3 Kobos now and it works as intended. Why it seems not to work for Skydog is a mystery to me.
Imagine my frustration when I have always had both settings, body and Kobo config, include O & W = 1 yet still experience large variations of the bottom margin from page to page. Adding another instance in <p> is the only time I have seen the correct result. All are sideloaded epubs from Kobo or converted azw3.

Last edited by Skydog; 03-02-2023 at 03:04 PM.
Skydog is offline   Reply With Quote
Old 03-02-2023, 03:21 PM   #39
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: 13,475
Karma: 239219543
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Skydog View Post
Imagine my frustration when I have always had both settings, body and Kobo config, include O & W = 1 yet still experience large variations of the bottom margin from page to page. Adding another instance in <p> is the only time I have seen the correct result. All are sideloaded epubs from Kobo or converted azw3.
That's weird for sure. Well, if it should happen to me, at least I know now what to do.
Sirtel is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Widows and Orphans jhowell Kindle Formats 89 08-26-2021 10:38 PM
Widows and Orphans jonathanc Amazon Kindle 13 05-23-2020 02:32 AM
Widows and Orphans Waylander Kobo Reader 31 05-18-2020 06:54 AM
Widows and Orphans Calenorn Kobo Reader 3 10-21-2019 10:52 AM
Widows and Orphans danrodney ePub 10 12-08-2010 02:08 PM


All times are GMT -4. The time now is 04:21 PM.


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