]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/page-turn-page-breaking.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / page-turn-page-breaking.ly
index 88aea25c01023ce726a8dc84f8af21ca29e0ddaf..e377daf7bea0818967e4d1e9299174c45b918910 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.9.13"
+\version "2.14.0"
 
 \header{
     texidoc="The page-turn breaker will put a page turn after
@@ -7,11 +7,6 @@ in which case the turn will go after the special barline.
 "
 }
 
-\paper {
-  #(define page-breaking ly:page-turn-breaking)
-  paper-height = #70
-}
-
 \layout {
   \context {
     \Staff
@@ -19,11 +14,24 @@ in which case the turn will go after the special barline.
   }
 }
 
-\relative c' {
-  a b c d a b c d \break
-  c d e f c d e f R1*4
-  \repeat unfold 15 {d4 e f g} \break
-  c d e f c d e f R1*2 \bar "||" R1*2
-  \repeat unfold 15 {d4 e f g}
+\book {
+
+  \paper {
+    #(define page-breaking ly:page-turn-breaking)
+    paper-height = #35
+    auto-first-page-number = ##t
+    print-page-number = ##t
+    print-first-page-number = ##t
+  }
+
+  \score {
+    \relative c' {
+      a b c d a b c d \break
+      c d e f c d e f R1*4
+      \repeat unfold 13 {d4 e f g} \break
+      c d e f c d e f R1*2 \bar "||" R1*2
+      \repeat unfold 15 {d4 e f g}
+    }
+  }
 }