1\version "2.16.0"
2
3\header {
4  texidoc = "By default, we start with page 1, which is on the right hand side
5of a double page. In this example, auto-first-page-number is set to ##t.
6Although the first measure could go on a page by itself, this would require
7stretching the first page badly, so we should automatically set the first page
8number to 2 in order to avoid a bad page turn."
9}
10
11\paper {
12  page-breaking = #ly:page-turn-breaking
13  auto-first-page-number = ##t
14  print-first-page-number = ##t
15}
16
17#(set-default-paper-size "a6")
18
19\layout {
20  \context {
21    \Staff
22    \consists "Page_turn_engraver"
23  }
24}
25
26\book {
27  \score {
28    {
29      a b c d R1
30      \repeat unfold 30 {a4 b c d}
31    }
32  }
33}
34