]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/page-turn-page-breaking-auto-first-page.ly
Merge branch 'stable'
[lilypond.git] / input / regression / page-turn-page-breaking-auto-first-page.ly
1 \version "2.12.0"
2
3 \header {
4   texidoc = "By default, we start with page 1, which is on the right hand side
5 of a double page. In this example, auto-first-page-number is set to ##t and the
6 music won't fit on a single page, so we should automatically set the first page
7 number to 2 in order to avoid a bad page turn."
8 }
9
10 \paper {
11   page-breaking = #ly:page-turn-breaking
12   auto-first-page-number = ##t
13   print-first-page-number = ##t
14 }
15
16 #(set-default-paper-size "a6")
17
18 \book {
19   \score {
20     {\repeat unfold 40 {a b c d}}
21   }
22 }