Orphan section numbers in ePub

I am getting orphaned section numbers in ePub, even though I have specified “Keep with next” for the section numbers. Is there any way to prevent this? (macOS 10.14, Scrivener 3.0.3)

No, there is nothing you can do about this, I’m afraid. “Keep with Next” has no effect on ebooks, because ebooks have no such concept. There is simply no way of telling an ebook to keep text together like that. In theory, an ebook reader could look at text and check, say, to see if a piece of text is a heading (has an HTML heading number associated with it, as headings in Scrivener do), and keep it with the following paragraph. But I don’t think any ebook readers actually do that.

In short, just don’t worry about this in ebooks because there’s nothing you can do about it - it’s a general issue with ebooks and you’ll see the same thing in ebooks created by professional publishers.

All the best,

Thank you for taking it off my mind.