]> git.donarmstrong.com Git - lilypond.git/commitdiff
wrap books around the page turning regression examples.
authorJoe Neeman <joeneeman@gmail.com>
Tue, 2 Jan 2007 13:47:42 +0000 (15:47 +0200)
committerJoe Neeman <joeneeman@gmail.com>
Tue, 2 Jan 2007 13:47:42 +0000 (15:47 +0200)
input/regression/page-turn-page-breaking-badturns.ly
input/regression/page-turn-page-breaking.ly

index 0292751d52b78e68aaaf4fda075a8c553fa67020..df8386d1ccbf3cc6d1faf4b2bf0426f011a8fbde 100644 (file)
@@ -7,16 +7,20 @@ should appear on 3 pages.
 "
 }
 
-\paper {
-  #(define page-breaking ly:page-turn-breaking)
-  paper-height = #70
-  print-page-number = ##t
-}
+\book {
+  \paper {
+    #(define page-breaking ly:page-turn-breaking)
+    paper-height = #65
+    print-page-number = ##t
+  }
 
-\relative c' {
-  a b c d a b c d \break
-  c d e f c d e f \break
-  d e f g d e f g
+  \score {
+    \relative c' {
+      a b c d a b c d \break
+      c d e f c d e f \break
+      d e f g d e f g
+    }
+  }
 }
 
 
index 8c296b71b6b5c3ad43b81ad5cf2537d213608f6e..686622b7d5b7436deebe6acd142de23d42facf4f 100644 (file)
@@ -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,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 = #65
+    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 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}
+    }
+  }
 }