]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.56
authorfred <fred>
Sun, 24 Mar 2002 20:09:45 +0000 (20:09 +0000)
committerfred <fred>
Sun, 24 Mar 2002 20:09:45 +0000 (20:09 +0000)
init/engraver.ly

index a1b51de4cb9f08e3ee49da106c8874efdb03b925..427fb4c410e3a034d029212239d375e6d0746347 100644 (file)
@@ -14,7 +14,25 @@ Staff = \translator {
          \consists "Staff_sym_engraver";
          \consists "Collision_engraver";
          \consists "Rest_collision_engraver";
-       \consists "Separating_line_group_engraver";
+
+%{
+         Uncomment to get bar numbers on single staff systems:
+         
+         The Bar_number_engraver puts a number over a staff created
+         at the same level of hierarchy.  This why you have to add it
+         here separately if you want to have numbers on single staff
+         systems: The Bar_number_engraver in Score_engraver will only
+         put numbers on bars that are Score ("system") wide.  Such
+         bars are only created when the toplevel system has multiple
+         children-staffs.
+
+%}
+ %{
+
+       \consists "Bar_column_engraver";
+       \consists "Bar_number_engraver";
+%}
+               \consists "Separating_line_group_engraver";
          \consists "Line_group_engraver";
          
          \accepts "Voice";
@@ -99,9 +117,11 @@ Score = \translator {
        \type Score_engraver;
 
        \consists "Timing_engraver";
-       %\consists "Bar_column_engraver";
-       %\consists "Bar_number_engraver";
-
+       % uncomment to bar numbers on a whoole system.
+%{
+       \consists "Bar_column_engraver";
+       \consists "Bar_number_engraver";
+%}
        \consists "Span_score_bar_engraver";
        \consists "Score_priority_engraver";
        \consists "Priority_horizontal_align_engraver";