Using this issue to track a list of things I'm noticing where we don't want a page break.
1) Example header and code, i.e.
[example]*Example I.1: Traditional Random Walk*
[source,java]
----
void setup() {
size(640,360);
// Create the Walker.
w = new Walker(); // [bold]
background(0);
}
----
There should never be a page break between Example I.1 and the first line of code.
2) Code comment
There should never be a page break between the line of code and it's corresponding comment.
3) Section heading and text below it (section heading should always go to next page)
[[chapter01_section10]]
=== 1.10 Interactivity with acceleration
To finish out this chapter, let’s try something a bit more complex and a great deal more useful.
Using this issue to track a list of things I'm noticing where we don't want a page break.
1) Example header and code, i.e.
There should never be a page break between Example I.1 and the first line of code.
2) Code comment
There should never be a page break between the line of code and it's corresponding comment.
3) Section heading and text below it (section heading should always go to next page)
[[chapter01_section10]]
4) Table should have no page break