unwanted intervening blank pages in pdf (continued)
Dear Kovid,
Thank you for looking at my problem. I hope this helps you in your work.
When 0, 1, 2, or 3 blank lines occur at the bottom of the last page of a chapter, the next page is always blank and the H1 chapter begins after the blank page. The blank pages are: 4, 53, 59, 97, 114, 116, 161, 168. I have been trying warious things as 'work-arounds'. I tried using widows and orphans, page-break-before: avoid, no footers, varying PDF bottom margin, page-break-inside: avoid. I tried to use H1 such that it will not cause a page break.
I have been in the habit of enclosing frame around image without captions and also enclosing frame around image with captions. I have noticed the frame will start at the bottom of a page, then extend image and caption to the top of the next page. To prevent this, I have been using the 'page-break-before: always' command in the CSS. The command does not work using my 'made-up' CSS inclusion called <f>. Instead, I must use an existing command of one sort or another. I have been using <dd>. The text will then look like: <dd><f><image>caption</f></dd> and this conglomeration will keep a captioned, framed image from spreading across two pages. (I realize the <dd> is an 'odd duck'.)
Best regards, Pop
|