]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/engraver-one-by-one.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / input / test / engraver-one-by-one.ly
index ea2d9f08c35d9dd5fbbd6432283161cc061a827e..ed79c1a58902e546a0bd9f3d7b3eddd8f0f8a3a0 100644 (file)
@@ -1,10 +1,10 @@
 
-\version "2.3.2"
+\version "2.7.39"
 \header {
     
 texidoc = "The notation problem, creating a certain symbol,
     is handled by plugins. Each plugin is called Engraver. In this example,
-engravers is switched on one by one, in the following order:
+engravers are switched on one by one, in the following order:
 
 @itemize
 @item note heads,
@@ -22,17 +22,17 @@ Staff context.
 "
 
     }
-\paper { raggedright = ##t }
+\layout { ragged-right = ##t }
 
-\include "engraver-example.lyinc"
+\include "engraver-example.ily"
 
 
 %
 % setup for Request->Element conversion. Guru-only
 %
 
-MyStaffContext=\context {
-       \type "Engraver_group_engraver"
+MyStaff =\context {
+       \type "Engraver_group"
        \name Staff
 
        \description "Handles clefs, bar lines, keys, accidentals.  It can contain
@@ -53,10 +53,10 @@ MyStaffContext=\context {
        \consists "Instrument_name_engraver"
        \consists "Grob_pq_engraver"
        \consists "Forbid_line_break_engraver"
-       \consistsend "Axis_group_engraver"
+       \consists "Axis_group_engraver"
 \consists "Pitch_squash_engraver"
 
-       minimumVerticalExtent = #'(-6 . 6)
+       \override VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 6)
        extraVerticalExtent = ##f
        verticalExtent = ##f 
        localKeySignature = #'()
@@ -72,8 +72,8 @@ MyStaffContext=\context {
 }
 
 
-MyVoiceContext = \context {
-       \type "Engraver_group_engraver"
+MyVoice = \context {
+       \type "Engraver_group"
        \name Voice
 
 \description "
@@ -128,27 +128,27 @@ MyVoiceContext = \context {
 
 \score {
   \topVoice
-  \paper {
+  \layout {
       \context { \MyStaff }
       \context { \MyVoice }
       }
 }
 
 
-MyStaffContext = \context {
+MyStaff = \context {
     \MyStaff
     \consists "Staff_symbol_engraver"
 }
 
 \score {
   \topVoice
-  \paper {
+  \layout {
       \context { \MyStaff }
       \context { \MyVoice }
             }
 }
 
-MyStaffContext = \context {
+MyStaff = \context {
     \MyStaff
       \consists "Clef_engraver"
     \remove "Pitch_squash_engraver"
@@ -156,39 +156,39 @@ MyStaffContext = \context {
 
 \score {
   \topVoice
-  \paper {
+  \layout {
       \context { \MyStaff }
       \context { \MyVoice }
             }
 }
 
-MyVoiceContext = \context {
+MyVoice = \context {
     \MyVoice
     \consists "Stem_engraver"
     }
 
 \score {
   \topVoice
-  \paper {
+  \layout {
       \context { \MyStaff }
       \context { \MyVoice }
             }
 }
 
-MyVoiceContext = \context {
+MyVoice = \context {
     \MyVoice
        \consists "Beam_engraver"
 }
 
 \score {
   \topVoice
-  \paper {
+  \layout {
       \context { \MyStaff }
       \context { \MyVoice }
             }
 }
 
-MyVoiceContext= \context {
+MyVoice= \context {
     \MyVoice
     \consists "Phrasing_slur_engraver"
     \consists "Slur_engraver"
@@ -198,13 +198,13 @@ MyVoiceContext= \context {
 
 \score {
   \topVoice
-  \paper {
+  \layout {
       \context { \MyStaff }
       \context { \MyVoice }
             }
 }
 
-MyStaffContext = \context {
+MyStaff = \context {
     \MyStaff
  \consists "Bar_engraver"
     \consists "Time_signature_engraver"
@@ -213,20 +213,20 @@ MyStaffContext = \context {
 
 \score {
   \topVoice
-  \paper {
+  \layout {
       \context { \MyStaff }
       \context { \MyVoice }
             }
 }
 
-MyStaffContext = \context
{ \MyStaff
- \consists "Accidental_engraver"    
-     \consists "Key_engraver"
+MyStaff = \context {
   \MyStaff
   \consists "Accidental_engraver"    
+    \consists "Key_engraver"
 }
 \score {
   \topVoice
-  \paper {
+  \layout {
       \context { \MyStaff }
       \context { \MyVoice }
             }