]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/engraver-init.ly
(all-grob-descriptions): remove all
[lilypond.git] / ly / engraver-init.ly
index ee8d7dc0b99bdebd70639380c14d9ded1aa5f60f..e897cc3d9239118901ff57791751f4c3a0fac910 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.3.16"
+\version "2.4.0"
 
 \context {
     \name Global
 \context {
        \type "Engraver_group_engraver"
        \name Staff
-
        
        \consists "Output_property_engraver"    
-       
        \consists "Bar_engraver"
 % Bar_engraver must be first so default bars aren't overwritten
 % with empty ones.
        
        \consists "Font_size_engraver"
-       
        \consists "Volta_engraver"
        \consists "Separating_line_group_engraver"      
        \consists "Dot_column_engraver"
@@ -76,7 +73,7 @@
     \denies Voice
     \accepts DrumVoice
 
-    clefGlyph = #"clefs-percussion"
+    clefGlyph = #"clefs.percussion"
     clefPosition = #0
     \override Script #'staff-padding = #0.75 
 }
     \consists "Slur_engraver"
     \consists "Tie_engraver"
     \consists "Tuplet_engraver"
+    \consists "Grace_engraver"
 
     \consists "Skip_event_swallow_translator"
 }
@@ -398,7 +396,7 @@ AncientRemoveEmptyStaffContext = \context {
     You cannot explicitly instantiate a Score context (since it is
     not contained in any other context).  It is instantiated
     automatically when an output definition (a @code{\score} or
-    @code{\paper} block) is processed."
+    @code{\layout} block) is processed."
     
     \consists "Repeat_acknowledge_engraver"
     \consists "Staff_collecting_engraver"
@@ -445,7 +443,7 @@ AncientRemoveEmptyStaffContext = \context {
     
     melismaBusyProperties = #default-melisma-properties
     
-    clefGlyph = #"clefs-G"
+    clefGlyph = #"clefs.G"
     clefPosition = #-2
     middleCPosition = #-6
     
@@ -518,7 +516,7 @@ AncientRemoveEmptyStaffContext = \context {
     chordNameExceptionsPartial = #partialJazzExceptions
     
 
-    bassStaffProperties = #'((assign clefGlyph "clefs-F")
+    bassStaffProperties = #'((assign clefGlyph "clefs.F")
       (assign clefPosition 2)
       (assign middleCPosition 6))
     %% tablature:
@@ -527,13 +525,13 @@ AncientRemoveEmptyStaffContext = \context {
 
     %% One may change the strings tuning as following :
     %% The lenght of the list must be equal to the number of string
-    stringTunings = #guitar-tunings
+    stringTunings = #guitar-tuning
     tablatureFormat = #fret-number-tablature-format
 
     %%
     bassFigureFormatFunction = #format-bass-figure
     metronomeMarkFormatter = #format-metronome-markup
-    graceSettings = #`#(
+    graceSettings = #`(
        (Voice Stem direction 1)
        ;; TODO: should take from existing definition.
        ;; c&p from define-grobs.scm
@@ -559,7 +557,10 @@ AncientRemoveEmptyStaffContext = \context {
        (Voice Slur direction -1)
     )
 
-  quotedEventTypes = #'(note-event rest-event time-scaled-music tie-event)
+    quotedEventTypes = #'(note-event rest-event time-scaled-music tie-event)
+    instrumentTransposition = #(ly:make-pitch 0 0 0)
+
+    verticallySpacedContexts = #'(Staff)
 }
 
 EasyNotation = \context {      % TODO: why \context override? 
@@ -612,6 +613,13 @@ EasyNotation = \context {  % TODO: why \context override?
       %\override Beam #'damping = #100000
       %\override Stem #'up-to-staff = ##t
 
+      % TabStaff increase the staff-space, which in turn
+      % increases beam thickness and spacing; beams are
+      % too big. We have to adjust the beam settings:
+      \override Beam #'thickness = #0.32
+      \override Beam #'space-function =
+          #(lambda (beam mult) (* 0.62 (Beam::space_function beam mult)))
+
       % No accidental in tablature !
       \remove Accidental_engraver
 }
@@ -639,7 +647,7 @@ EasyNotation = \context {   % TODO: why \context override?
       \remove "Key_engraver"
       \remove "String_number_engraver"
       % Special "TAB" clef
-      clefGlyph = #"clefs-tab"
+      clefGlyph = #"clefs.tab"
       clefPosition = #0
 }
 
@@ -714,7 +722,7 @@ EasyNotation = \context {   % TODO: why \context override?
   % \override StaffSymbol #'width = #60.0
 
   % Choose vaticana do clef on 3rd line as default.
-  clefGlyph = #"clefs-vaticana-do"
+  clefGlyph = #"clefs.vaticana.do"
   middleCPosition = #1
   clefPosition = #1
   clefOctavation = #0
@@ -815,7 +823,7 @@ EasyNotation = \context {   % TODO: why \context override?
   % \override StaffSymbol #'width = #60.0
 
   % Choose petrucci g clef on 2nd line as default.
-  clefGlyph = #"clefs-petrucci-g"
+  clefGlyph = #"clefs.petrucci.g"
   middleCPosition = #-6
   clefPosition = #-2
   clefOctavation = #0