X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fengraver-init.ly;h=fc0b867e82754dade0f96effd64658363be008f2;hb=adaa7aecab8595596fc6505402b40a37a04716e6;hp=2687de00ff09c6826a3cca7012ac347d4a5b7ee7;hpb=678320aad19df0e95725c2c10ad6d7b78767d7d3;p=lilypond.git diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly index 2687de00ff..fc0b867e82 100644 --- a/ly/engraver-init.ly +++ b/ly/engraver-init.ly @@ -1,4 +1,4 @@ -\version "2.7.39" +\version "2.10.0" \context { \name "Global" @@ -10,6 +10,20 @@ \grobdescriptions #all-grob-descriptions } + +\context { + \type "Engraver_group" + \name "FretBoards" + + \consists "Output_property_engraver" + + \consists "Axis_group_engraver" + \consists "Fretboard_engraver" + \consists "Separating_line_group_engraver" + \consists "Font_size_engraver" + \consists "Instrument_name_engraver" +} + \context { \type "Engraver_group" \name "Staff" @@ -24,7 +38,7 @@ \consists "Separating_line_group_engraver" \consists "Dot_column_engraver" - %% perhaps move to Voice context? + %% perhaps move to Voice context? \consists "Ottava_spanner_engraver" \consists "Clef_engraver" \consists "Key_engraver" @@ -35,15 +49,15 @@ \consists "Rest_collision_engraver" \consists "Accidental_engraver" \consists "Piano_pedal_engraver" + \consists "Piano_pedal_align_engraver" \consists "Instrument_name_engraver" \consists "String_number_engraver" \consists "Axis_group_engraver" \consists "Figured_bass_engraver" \consists "Figured_bass_position_engraver" + \consists "Script_row_engraver" - \override VerticalAxisGroup #'minimum-Y-extent = #'(-4 . 4) - extraVerticalExtent = ##f - verticalExtent = ##f + \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.5 . 3.5) localKeySignature = #'() createSpacing = ##t ignoreFiguredBassRest = ##t @@ -122,8 +136,6 @@ contained staves are not connected vertically." \type "Engraver_group" \override VerticalAxisGroup #'minimum-Y-extent = ##f - extraVerticalExtent = ##f - verticalExtent = ##f localKeySignature = #'() createSpacing = ##t @@ -220,6 +232,7 @@ contained staves are not connected vertically." \consists "Script_engraver" \consists "Script_column_engraver" \consists "Rhythmic_column_engraver" + \consists "Note_spacing_engraver" \consists "Phrasing_slur_engraver" \consists "Cluster_spanner_engraver" \consists "Slur_engraver" @@ -345,9 +358,7 @@ staffs, with a bracket in front and spanning bar lines. " \context{ \type "Engraver_group" - \override VerticalAxisGroup #'minimum-Y-extent = #'(-1.2 . 2.4) - extraVerticalExtent = ##f - verticalExtent = ##f + \override VerticalAxisGroup #'minimum-Y-extent = #'(-0.75 . 2.0) \description " Corresponds to a voice with lyrics. Handles the printing of a single line of lyrics. " @@ -381,8 +392,6 @@ printing of a single line of lyrics. " \consists "Axis_group_engraver" \override VerticalAxisGroup #'minimum-Y-extent = ##f - extraVerticalExtent = ##f - verticalExtent = ##f \consists "Rest_swallow_translator" @@ -405,14 +414,12 @@ printing of a single line of lyrics. " \consists "Chord_name_engraver" \consists "Skip_event_swallow_translator" \consists "Hara_kiri_engraver" - +% \consists "Note_spacing_engraver" voltaOnThisStaff = ##f - \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 2.5) - extraVerticalExtent = ##f + \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 2) \override SeparatingGroupSpanner #'padding = #0.8 \override VerticalAxisGroup #'remove-first = ##t \override VerticalAxisGroup #'remove-empty = ##t - verticalExtent = ##f } @@ -473,6 +480,7 @@ AncientRemoveEmptyStaffContext = \context { \defaultchild "Staff" + \accepts "FretBoards" \accepts "Staff" \accepts "RhythmicStaff" \accepts "TabStaff" @@ -489,7 +497,9 @@ AncientRemoveEmptyStaffContext = \context { \accepts "Devnull" \accepts "NoteNames" \accepts "FiguredBass" - + + + noteToFretFunction = #determine-frets soloText = #"Solo" soloIIText = #"Solo II" aDueText = #"a2" @@ -531,7 +541,7 @@ AncientRemoveEmptyStaffContext = \context { harmonicAccidentals = ##t fingeringOrientations = #'(up down) stringNumberOrientations = #'(up down) - stringFingerOrientations = #'(up down) + strokeFingerOrientations = #'(right) markFormatter = #format-mark-letters rehearsalMark = #1 @@ -544,8 +554,8 @@ AncientRemoveEmptyStaffContext = \context { printKeyCancellation = ##t keyAlterationOrder = #`( (6 . ,FLAT) (2 . ,FLAT) (5 . ,FLAT ) (1 . ,FLAT) (4 . ,FLAT) (0 . ,FLAT) (3 . ,FLAT) - (3 . ,SHARP) (0 . ,SHARP) (4 . ,SHARP) (1 . ,SHARP) (5 . ,SHARP) (2 . ,SHARP) (6 . ,SHARP) - (6 . ,DOUBLE-FLAT) (2 . ,DOUBLE-FLAT) (5 . ,DOUBLE-FLAT ) (1 . ,DOUBLE-FLAT) (4 . ,DOUBLE-FLAT) (0 . ,DOUBLE-FLAT) (3 . ,DOUBLE-FLAT) + (3 . ,SHARP) (0 . ,SHARP) (4 . ,SHARP) (1 . ,SHARP) (5 . ,SHARP) (2 . ,SHARP) (6 . ,SHARP) + (6 . ,DOUBLE-FLAT) (2 . ,DOUBLE-FLAT) (5 . ,DOUBLE-FLAT ) (1 . ,DOUBLE-FLAT) (4 . ,DOUBLE-FLAT) (0 . ,DOUBLE-FLAT) (3 . ,DOUBLE-FLAT) (3 . ,DOUBLE-SHARP) (0 . ,DOUBLE-SHARP) (4 . ,DOUBLE-SHARP) (2 . ,DOUBLE-SHARP) (5 . ,DOUBLE-SHARP) (2 . ,DOUBLE-SHARP) (6 . ,DOUBLE-SHARP) ) @@ -591,8 +601,16 @@ AncientRemoveEmptyStaffContext = \context { (Voice Slur direction ,DOWN) ) - keepAliveInterfaces = #'(rhythmic-grob-interface lyric-interface percent-repeat-interface) - quotedEventTypes = #'(note-event rest-event time-scaled-music tie-event beam-event) + keepAliveInterfaces = #'( + rhythmic-grob-interface + lyric-interface + percent-repeat-interface) + quotedEventTypes = #'( + note-event + rest-event + tie-event + beam-event + tuplet-span-event) instrumentTransposition = #(ly:make-pitch 0 0 0) verticallySpacedContexts = #'(Staff) @@ -617,7 +635,7 @@ AncientRemoveEmptyStaffContext = \context { \override VerticalAxisGroup #'remove-empty = ##t \override VerticalAxisGroup #'remove-first = ##t - \override VerticalAxisGroup #'minimum-Y-extent = #'(-0.5 . 2.5) + \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 2) } \context { @@ -636,6 +654,8 @@ AncientRemoveEmptyStaffContext = \context { \name "TabVoice" \alias "Voice" \consists "Tab_note_heads_engraver" + \consists "Tab_harmonic_engraver" + \remove "Note_heads_engraver" \remove "Fingering_engraver" \remove "New_fingering_engraver" @@ -650,6 +670,9 @@ AncientRemoveEmptyStaffContext = \context { %% No accidental in tablature ! \remove Accidental_engraver + + \override Glissando #'extra-dy = #0.75 + \override Glissando #'gap = #0.2 } \context { @@ -866,6 +889,13 @@ AncientRemoveEmptyStaffContext = \context { \override Custos #'style = #'mensural \override Custos #'neutral-position = #3 \override Custos #'neutral-direction = #DOWN + + %% Accidentals are valid only once (same as + %% #(set-accidental-style 'forget)) + extraNatural = ##f + autoAccidentals = #'(Staff (same-octave . -1)) + autoCautionaries = #'() + printKeyCancellation = ##f }