]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/mutopia/J.S.Bach/baerenreiter-sarabande.ly
The grand \paper -> \layout, \bookpaper -> \paper renaming.
[lilypond.git] / input / mutopia / J.S.Bach / baerenreiter-sarabande.ly
index a32f548f744a9ef37234b1bcfddb7b996c326f67..0fb0728eab534a7a5162be4c02c8554f47b0b216 100644 (file)
@@ -1,15 +1,15 @@
-\version "2.1.21"
+\version "2.3.22"
 
 % #(ly:set-point-and-click 'line-column)
 
-forcedLastBreak = \notes { \break }
+forcedLastBreak =  { \break }
 
 %% We want this to perfectly match the Baerenreiter spacing.
 %% If we're not using 6 systems, there's definately a problem.
 #(define (assert-system-count smob n)
-  (let ((systems (length (ly:get-broken-into
-                         (ly:get-original
-                          (ly:get-system smob))))))
+  (let ((systems (length (ly:spanner-broken-into
+                         (ly:grob-original
+                          (ly:grob-system smob))))))
     (if (not (equal? n systems))
        (error
        ;;(warn
@@ -20,7 +20,7 @@ forcedLastBreak = \notes { \break }
 \header {
   title = "Solo Cello Suite II"
   piece ="Sarabande"
-  composer = "J.S. Bach"
+  composer = "Johann Sebastian Bach (1685-1750)"
   editor = "August Wenzinger"
   source= "B\\\"arenreiter Urtext"
 
@@ -46,14 +46,15 @@ half way in measure 13 has been forgotten.
 }
 
 
-sarabandeA =  \context Voice \notes \relative c {
-  \property Staff.NoteCollision \set #'merge-differently-dotted = ##t
+sarabandeA =  \context Voice  \relative c {
+  \override Staff.NoteCollision  #'merge-differently-dotted = ##t
 
   
   << { d8. e16 e4.\trill d16 e } \\
     { d4 a2 } >>
   <d, a' f'>4.  e'8[ d c] |
-  bes[ g'] f[ e16(f] g[ a bes d,)] |
+  bes[ g'] f[
+     e16(f] g[ a bes d,)] |
   cis4.\trill b8[ a g] |
 
   %% check spacing without accs: 
@@ -106,7 +107,7 @@ sarabandeA =  \context Voice \notes \relative c {
   |
   \stemUp
   d4 d,16 a'( b cis d e f g) |
-  \stemBoth
+  \stemNeutral
   \forcedLastBreak
   %%25
   << { a16(b c b) c4. b16(a) |
@@ -121,14 +122,14 @@ sarabandeA =  \context Voice \notes \relative c {
   d'[ cis] |
   %%  d4 d,,2 |
   d4
-  \property Voice.NoteHead
-  \override #'after-line-breaking-callback
 = #(lambda (smob) (assert-system-count smob 6))
+  \override NoteHead
+    #'after-line-breaking-callback
+ = #(lambda (smob) (assert-system-count smob 6))
   d,,2 |
 }
 
 
-sarabandeCelloGlobal =  \notes{
+sarabandeCelloGlobal = {
   \time 3/4
   \key f \major
   \clef bass
@@ -139,46 +140,41 @@ sarabandeCelloGlobal =  \notes{
   }
 }
 
-sarabandeCelloScripts =  \notes{
+sarabandeCelloScripts = {
 }
 
-sarabandeCelloStaff =  \context Staff <<
+sarabandeCelloStaff = \context Staff <<
   \sarabandeA
   \sarabandeCelloGlobal
   \sarabandeCelloScripts
 >>
 
 % size perversions
-smallerPaper = \paper {
-    \translator { \StaffContext
+smallerPaper = \layout {
+    \context { \Staff
                  fontSize = #-1
-                 StaffSymbol \override  #'staff-space = #0.8
+                 \override StaffSymbol  #'staff-space = #0.8
                  }
-    \translator { \ScoreContext
-                  SpacingSpanner \override #'spacing-increment = #0.96
+    \context { \Score
+                  \override SpacingSpanner #'spacing-increment = #0.96
                }
        
     indent = 5.6 \mm
     linewidth = 146.8 \mm
 }
 
-baerPaper = \paper {
-    indent = 7. \mm
-    linewidth =183.5 \mm
-    interscoreline=4.0\mm
-    \translator {
-            \ScoreContext
-%           System \override #'print-function = #box-grob-molecule
-    }
+\paper {
+  raggedbottom = ##t
+  indent = 7. \mm
+  linewidth =183.5 \mm
+  betweensystemspace = 25\mm 
+  betweensystempadding = 0\mm
 }
 
-
 \score{
   \sarabandeCelloStaff
-  \paper{
-    \baerPaper
-  }
   \midi{ \tempo 4 = 40 }
+  \layout { }
   \header{
     opus= "" 
     piece ="Sarabande" }