View Single Post
Old 09-13-2014, 08:43 AM   #29
Arkadian
Connoisseur
Arkadian began at the beginning.
 
Posts: 96
Karma: 10
Join Date: Mar 2014
Device: none
Quote:
Originally Posted by kovidgoyal View Post
The DOCX plugin only supports keeping the contents of a single paragrpah on the same page, not multiple paragraphs. If you want to keep a set of paragrpahs together in EPUB you need to wrap them in div tags like this

<div style="page-break-inside:avoid">
<p>
<p>
...
</div>
Hi Kovid,

thanks for that.

What I would like to accomplish, rather than keeping a whole paragraph together with the headline, is to keep at least a portion of it, as a whole paragraph may be too long.

Anyway, must I do it what you suggest on every headline throughout the book or is there a shorter way?
Arkadian is offline   Reply With Quote