View Single Post
Old 09-13-2014, 05:28 AM   #24
Arkadian
Connoisseur
Arkadian began at the beginning.
 
Posts: 96
Karma: 10
Join Date: Mar 2014
Device: none
Quote:
Originally Posted by BetterRed View Post
Do the CSS styles used for the header have something like

Code:
.block_ {
    display: block;
    page-break-inside: avoid;  /* IS THIS PRESENT IN THE STYLE USED FOR HEADER */
    text-align: justify;
    text-indent: 14.2pt;
    padding: 0;
    margin: 0 0 6pt
    }
BR
Quote:
Originally Posted by BetterRed View Post
@Arkadian Hmmm, is there anything in Conversion->Look and Feel->Extra CSS or Filter Style Information - if there is, take a note of what's there and rip it out

If you want to zip up your test DOCX, and the template (DOTX) it uses... żdoes Writer have DOTX's... and the resultant EPUB, and post it here then I'll have a look at it.

I find it hard to believe that LO is not writing a valid DOCX, mainly because I think Kovid did his DOCX_Input PI testing on LO Writer created DOCX's. And I can say with near absolute certainty that my Keep with Next ticks in Word always translate into CSS styles that include the 'page-break-inside: avoid;' artefact

BR
Hi BR, here is your files.

HOWEVER... the point of the matter is that my h2 style does comprise
page-break-after: avoid;
but it is not doing anything. The fact that LO does not produce it is neither here nor there at this moment in time.

@arspr,
why the <ol> tag is being used throughout I cannot say... There are lists in my doc, but even normal text is wrapped in these tags.
So, if I get your suggestion right, you are saying I can try to separate the first sentence or whatever right after the h2 to see whether that helps...
Although, now that I think about it, elsewhere I don't seem to have any problem splitting longer chunks of text between pages; even lists are being split halfway through (and of that I am not too fond of...)
Attached Files
File Type: zip LO test files.zip (145.8 KB, 253 views)
Arkadian is offline   Reply With Quote