I am getting page breaks in aesthetically unpleasing places in my Table of Contents. I am using chapter headings and each chapter is divided into sections. In my TOC I get blocks of text, where the chapter heading is formatted by Contents 1 followed by the section headings formatted by Contents 2. I get one or two orphaned lines from each chapter entry with each page break.
I should be able to fit about three chapters of TOC into a page so there is no need to break the chapter sections. I could not get what I wanted with the Contents 2 Text Flow settings. Do not split paragraph, Orphan control and Widow control seem to have no effect. I guess each TOC entry is a separate one-line paragraph as none of my entries need a second line. Is there some other way to do what I want?
I have Keep with next paragraph selected for Contents 1, and that seems to be working.
I am using Libre Office 7.0.5.2 on MacOS 11.3.