Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 02-09-2022, 09:17 AM   #16
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: 73,998
Karma: 128903378
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 stellatus View Post
Here you go Attachment 192235
I can see some of the long paragraph of the first page drop to the next page if using a small screen and a large text size. And that's OK. Don't try to force it not to split if it needs to.
JSWolf is offline   Reply With Quote
Old 02-09-2022, 09:18 PM   #17
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
But these page breaks are 100% useless. The header and paragraph will fit or they won't fit. A page break avoid will not make something fit that doesn't fit. Because this is at the top of the page, it will split if it has to. If it doesn't fit on the first page of the chapter, it won't fit on any page. So just let it be split if it needs to be instead of something going wrong when a program tries to keep everything together but cannot do so.
Yes, Jon, we know that you think they are useless. As you think a lot of things are. But, in case you haven't noticed, lots of people disagree with you on this. In this case, the OP is trying for a style. Maybe it isn't good, maybe it doesn't work, but, until they try, they won't know.

And to be clear, I disagree with you. There are situations when I want a minor heading, or some other bit of text clearly stuck with the following text. Keeping them together could easily improve the reading and comprehension. And sure, it wastes space at the end of the screen (I'm thinking non-fiction more than fiction). But, you have already told them they should do that by splitting the file at that point. And it's not as if we are actually wasting something. A little more whitespace doesn't matter, it isn't increasing the amount of rubbish in our landfills.

And of course, if you don't like it, don't buy the book.
davidfor is offline   Reply With Quote
Advert
Old 02-10-2022, 03:40 AM   #18
stellatus
Member
stellatus began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2022
Device: Kindle
Quote:
Originally Posted by JSWolf View Post
But these page breaks are 100% useless. The header and paragraph will fit or they won't fit. A page break avoid will not make something fit that doesn't fit. Because this is at the top of the page, it will split if it has to. If it doesn't fit on the first page of the chapter, it won't fit on any page. So just let it be split if it needs to be instead of something going wrong when a program tries to keep everything together but cannot do so.

It would be like a <pre> when the text is too wide and you cannot see some of it.
So I''m going to make separate HTML files for h2 and leaving the CSS instructions "page-brake-after", etc.
stellatus is offline   Reply With Quote
Old 02-10-2022, 04:21 AM   #19
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: 73,998
Karma: 128903378
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
Yes, Jon, we know that you think they are useless. As you think a lot of things are. But, in case you haven't noticed, lots of people disagree with you on this. In this case, the OP is trying for a style. Maybe it isn't good, maybe it doesn't work, but, until they try, they won't know.

And to be clear, I disagree with you. There are situations when I want a minor heading, or some other bit of text clearly stuck with the following text. Keeping them together could easily improve the reading and comprehension. And sure, it wastes space at the end of the screen (I'm thinking non-fiction more than fiction). But, you have already told them they should do that by splitting the file at that point. And it's not as if we are actually wasting something. A little more whitespace doesn't matter, it isn't increasing the amount of rubbish in our landfills.

And of course, if you don't like it, don't buy the book.
The thing is, this is at the TOP of the screen. A page bread to keep the header and the first paragraph doesn't matter. It will fit or it will not fit. A page break to keep it together will not work if it doesn't fit. If it wasn't at the top (beginning of the chapter) then a page break may help. But in this case, it won't help.
JSWolf is offline   Reply With Quote
Old 02-10-2022, 07:21 AM   #20
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
The thing is, this is at the TOP of the screen. A page bread to keep the header and the first paragraph doesn't matter. It will fit or it will not fit. A page break to keep it together will not work if it doesn't fit. If it wasn't at the top (beginning of the chapter) then a page break may help. But in this case, it won't help.
The thing is, that you haven't read what the OP wants to do. As usual.

They want to keep certain lines together. In this case, a low-level heading with the paragraph afterwards. They don't want to push that to the top of the page every time it occurs. If there is enough space, they are fine for the heading and paragraph to appear in the middle of the page.

It won't work all the time. Ignoring the lack of support in some devices/apps, the larger the font used, the less likely the paragraph won't be split. But, for people using a font similar in apparent size to that use in most paperbacks, it will have an affect.
davidfor is offline   Reply With Quote
Advert
Old 02-18-2022, 04:33 AM   #21
stellatus
Member
stellatus began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2022
Device: Kindle
OK, thanks a lot for your help. Everything seems clear to me now.
stellatus is offline   Reply With Quote
Old 02-24-2022, 03:58 PM   #22
DyckBook
Morlock
DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.
 
DyckBook's Avatar
 
Posts: 33
Karma: 2734796
Join Date: Oct 2021
Device: Kindle Paperwhite
Quote:
Originally Posted by JSWolf View Post
But you don't need a div with a pagebreak. It's irrelevant because it's at the top of the screen....
Perhaps what @stellatus was meaning is when a subchapter header ends up just at the bottom of the page with no room for the following text. If my interpretation is correct he (and I) would like that header to be shunted to the next page where it would appear with the following text.
DyckBook is offline   Reply With Quote
Old 02-26-2022, 10:43 AM   #23
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by DyckBook View Post
Perhaps what @stellatus was meaning is when a subchapter header ends up just at the bottom of the page with no room for the following text. If my interpretation is correct he (and I) would like that header to be shunted to the next page where it would appear with the following text.
Yes and pretty much everybody here understood that. Even our resident curmudgeon, who on occasion has difficulty separating what he likes versus what's "right" for the world at large.

What has been raised here are several things:
  • Many eReaders don't/won't support page-break-after:
  • Even in those instances that do, some readers (count me in on this) don't like the appearance of what happens with PBA, because it's constantly and I mean, constantly misleading, thinking you're at the end of a chapter or section, etc. and shortening the available reading space on your screen, (as if maximizing that doesn't matter, mind you), and
  • other considerations.

eBooks aren't print. If we had all decided, way back, to make ebooks a less-handy version of print, hell, we could have stuck with ePDFs, so that all the niceties of print could be preserved, without any of the functionality of eBooks.

Amazon does this widows/orphans thing, in KFX and it drives me nuts. I mean, nuts. I'm constantly seeing foreshortened pages and I think "yup, end of chapter" and then I realize, sentence breaks off, or nope, it just continues on the following page.

If I had seen this same type of formatting, 5 years ago, I'd have reported it to Amazon as BAD formatting. Now, it's not "bad" formatting--it's Enhanced Typesetting, "saving me" from OMG, reading WIDOWS AND ORPHANS!!!

It's kludgy and there is, to the best of my knowledge, no "good" way to implement it without simply sacrificing reading space to the pixel-fairies. You either mislead the reader, each and every time you do it (or the device/firmware does it, to be clear), or you live with the idea that humans can hold a thought in their minds while they swipe.

Hitch
Hitch is offline   Reply With Quote
Reply

Tags
css, headings, page-break


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DOCX paragraphs listed as headings in navigation window tage fredheim Conversion 2 07-26-2019 07:11 AM
How to convert ''Headings'' to ''HEADINGS''? chaot Workshop 13 03-16-2017 03:32 PM
How to separate paragraphs and headings in Book View amoroso Sigil 2 07-12-2010 08:27 AM
Collections saved to Memory Stick without a memory stick jabberwock_11 Sony Reader 11 01-09-2009 09:48 PM
SD card vs. memory stick vs. high speed memory stick wadood Sony Reader 20 05-10-2007 03:58 PM


All times are GMT -4. The time now is 04:11 AM.


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