Forum How do I...?

Page breaking and tables

stevel
I'm formatting some simple DocBook with Prince and have a structure

chapter
title
informaltable

The table wont fit on one page and so initially the output page breaks after the chapter title. CSS used is

chapter > title {
...
page-break-after: avoid;
}

table, informaltable {
display: table;
page-break-inside: auto;
}



however when I force a break in the table by marking up a row and putting in CSS to break viz

row[condition="breakPage"] {
page-break-before: always;
}

the table breaks between two pages as expected. But there is still a page break after the chapter title-leaving a mostly blank page.
mikeday
This issue may already be fixed in the next maintenance release, due shortly, which has improved treatment of page break avoid situations.
mikeday
The new maintenance release is out today, please give it a try and see if it solves the problem.