]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/page-turn-page-breaking.ly
Issue 5148/2: three-sided-box snippet: use #:properties keyword
[lilypond.git] / input / regression / page-turn-page-breaking.ly
index fee9a83a93107c917171c09fe958dfaf6cbd7b1c..7416b36c0d6365a9273db9518dbcd16417b3c26c 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.9.13"
+\version "2.19.21"
 
 \header{
     texidoc="The page-turn breaker will put a page turn after
@@ -7,14 +7,6 @@ in which case the turn will go after the special barline.
 "
 }
 
-\paper {
-  #(define page-breaking ly:page-turn-breaking)
-  paper-height = #70
-  auto-first-page-number = ##t
-  print-page-number = ##t
-  print-first-page-number = ##t
-}
-
 \layout {
   \context {
     \Staff
@@ -22,11 +14,25 @@ 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
+    tagline = ##f
+  }
+
+  \score {
+    \relative {
+      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}
+    }
+  }
 }