Quote:
Originally Posted by HarryT
You want something like this in the paragraph style in your CSS:
Code:
p {
widows: 2;
orphans: 2;
}
That tells it to move the entire paragraph to the next page if there would two (or fewer) lines left either at the bottom of one page, or the top of another.
|
Thanks for the help. However, I've tried this with various of my ebooks and it doesn't work with any of them. Am I doing something wrong? I put it into the CSS of the user stylesheet section of preferences.
Quote:
Originally Posted by Notjohn
As a reader, I have no problem with widows & ophans. I would much rather continue reading from one page to the next, as I do in a print edition, without encountering a short page. If I am reading a print edition from a reputable publisher, the book designer is going to tweak the line spacing, or perhaps ask the author to rephrase, rather than have pages of unequal length. I appreciate that the OP in a sense is trying to accomplish what book designers accomplish, but Kindle at least is going to make a hash of it. (And ending a paragraph with the last complete sentence is going to make a new paragraph, isn't it? Does the carry-over get an indent, and how is that accomplished? And what if we're talking about a paragraph that is quoted speech -- who adds the beginning quotation mark?)
|
Quote:
Originally Posted by JSWolf
The problem is that the OP wants to end on a complete sentence. That's not possible to do without maybe dropping the last paragraph to the next page and that could leave a rather large gap. And depending on the size of the screen, I've seen a paragraph take up the entire screen.
|
In my mind, if the paragraph takes up half the screen before continuing onto the next sentence, I would have the program just move the entire paragraph over to the next page. So basically, fit as many
complete paragraphs onto the screen as possible. The only exception is when the paragraph is larger than the screen size itself, then it has to just break. And I would agree that would mean large paragraphs could potentially leave half the screen blank, but I have a fairly large screen with normal size text, so very few books actually do this for me. And in books that have mostly short paragraphs though, it would be a godsend.