View Single Post
Old 02-10-2013, 02:53 PM   #19
Arios
A curiosus lector!
Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.
 
Arios's Avatar
 
Posts: 463
Karma: 2015140
Join Date: Jun 2012
Device: Sony PRS-T1, Kobo Touch
To vampiregrave

Hi vampiregrave

If you are still reading this thread I found a "generic" solution and a more specific one that might suit you!

These was tested with the KT (firmware ver. 2.3.1).

1) The easiest thing to do.

Edit your epub with Sigil and add to the paragraph class <p> orphans: 0;
widows: 0. It should looks something like (...; = the specific codes of your own epub):

Code:
p {
    ...;
    orphans: 0;
    widows: 0;
}
Now here is the trick. Rename your file like this: name_of_my_epub.kepub.epub. Voilą! It works perfectly on the KT with my extravagant epub. The only drawback, of course, is that there are widows and orphans, but this is quite normal, is it not?

2) If you have few long paragraphs in your epub, you could instead just create a <div> in the CSS for them this way:

Code:
.lpara {
    orphans: 0;
    widows: 0;
}
and insert the div (<div class="lpara">) at the beginning of the long paragaph. Don't forget to put a </div> at the end of these paragraphs and to remove "orphans: 0; widows: 0;" from the normal paragraph.

But if the Glo works as the KT, you should be in business with the first solution.
Arios is offline   Reply With Quote