Originally Posted by Bronzato
Sometimes I have a title at the last line of a page (on my reader) and I have the paragraph at the next page. Is there a way to avoid this? Maybe edit this EPUB file in Calibre?
Every Epub is a zipped collection of a number of files, one of them has the name *.css (* -> insert the actual name of your file here). This is a style sheet and tells your reading device how to arrange your text.
You may insert there something like this:
Tag all your titles as h2 in your html file. The first three lines tell your reader, to make a page break before every title, but never inside and never afterwards.
This is of course only an example, you can change everything there. Play around a little bit with the settings to see what's happening.