]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/smart-transpose.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / input / test / smart-transpose.ly
index 9904813e9eee493a0d5952dd8888043e43f854e4..b1296b394849412215ab3a0875bff7320bfd2c82 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.1.30"
+\version "2.7.39"
 
 \header {
 texidoc="@cindex Smart Transpose
@@ -8,7 +8,7 @@ There is a way to enforce enharmonic modifications for notes in order
 to have the minimum number of accidentals. In that case, ``Double 
 accidentals should be removed, as well as E-sharp (-> F), bC (-> B),
 bF (-> E), B-sharp (-> C).'', as proposed by a request for a new feature.
-In that manner, the most natural enharmonic notes are chosen in this example.
+In this manner, the most natural enharmonic notes are chosen in this example.
 
 "
 }
@@ -64,16 +64,16 @@ In that manner, the most natural enharmonic notes are chosen in this example.
 
     music))
 
-music = \notes \relative c' { c4 d  e f g a b  c }
+music =  \relative c' { c4 d  e f g a b  c }
 
 \score {
-  \notes \context Staff {
+   \context Staff {
     \transpose c ais \music
-    \apply #naturalise \transpose c ais \music
+    \applyMusic #naturalise \transpose c ais \music
     \transpose c deses \music
-    \apply #naturalise \transpose c deses \music
+    \applyMusic #naturalise \transpose c deses \music
   }
-  \paper { raggedright = ##t}
+  \layout { ragged-right = ##t}
 }