2021.2

Table Of Contents
1. Open the style sheet for the Print context: on the Resources pane, expand the Styles
folder and double-click context_print_styles.css.
2. Add a CSS rule, like the following:
p { widows: 4; orphans: 3 }
Per paragraph
To change the widow or orphan setting for one paragraph only:
1. Open the Formatting dialog. To do this, you can:
l Select the paragraph using the breadcrumbs or the Outline pane (next to the
Resources pane) and then select Format > Paragraph in the menu.
l Right-click the paragraph and select Paragraph... from the contextual menu.
2. After Widows and Orphans, type the minimum number of lines that should be kept
together.
In tables
The CSS properties widows and orphans can be used in tables to prevent a number of rows
from being separated from the rest of the table.
Dynamic Tables are automatically divided over several pages when needed. A Standard Table
doesn't flow over multiple pages by default. Splitting a Standard Table over multiple pages
requires setting the Connect-specific data-breakable attribute on all of its rows. You can either
open the Source tab, or write a script to replace each <tr> with <tr data-breakable="">. Note
that the effect will only be visible in Preview mode.
To set the number of widows and orphans for a table:
1. Open the Formatting dialog. To do this, you can:
l Select the table using the breadcrumbs or the Outline pane (next to the Resources
pane) and then select Format > Table in the menu.
l Right-click the paragraph and select Table... from the contextual menu.
2. After Widows and Orphans, type the minimum number of table rows that should be kept
together.
Page breaks
A page break occurs automatically when the contents of a section don't fit on one page.
Page 504