View Single Post
Old 08-13-2020, 05:28 PM   #10
angharad09
Enthusiast
angharad09 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Aug 2011
Device: none
Unfortunately, forced page breaks before the subheadings would create more problems than they would solve, in this case.

The CSS looks pretty clean to me (I'm still working my way through the file, but I've looked at all the HTML and CSS related to the headings and text immediately before and after. From what I can see (after spending the better part of the day) online, this is a pretty well known problem. Alas, I haven't seen any good solutions (at least, any I could understand). But I don't remember ever seeing a straggling heading in a commercially produced ebook. It seems like there must be a fix for this ... somewhere!

I imagine with Word files, it's a question of crud in, crud out. The questionable Calibre code that I've seen so far in this file seems like it probably comes from places where I missed some manual formatting when I was cleaning up the .docx. Lord knows there are 1001 ways to mess up a Word file. It's definitely worth a hard-core cleanup before importing.
angharad09 is offline   Reply With Quote