I tried to report the same bug together with a few
others several days ago, but I messed up somewhere and
my message ended up blank.

I fixed it by removing the line:
        alignmentreference = \center; 
altogether, since this seemed to be the key difference 
between ChoirStaff and StaffGroup, and StaffGroup was 
working.

Other bugs:
 * Fermata collide with lyrics. I know there are a 
   few collisions with lyrics to be tidied up (slurs, 
   for one) but this seems to be a relatively new one as 
   it did not happen in 1.1.37.

 * Down tuplet brackets point the wrong way -- but I 
   noticed that these are in the todo.

 * In a ChoirStaff, if a new line is forced mid-bar with 
        \bar "empty"; \break
   then as well as the staves being open at the end 
   (which was expected), the new line is open at the
   beginning, too, and has no bracket joining the
   staves together, just two 'naked' staves.
   That is, I get:
        ___________
        _________
        __________
        ___________
        __________


        ___________
        _________
        __________
        ___________
        __________
        
   instead of:
        / ___________
        ||_________
        ||__________
        ||___________
        ||__________
        ||
        ||
        ||___________
        ||_________
        ||__________
        ||___________
        ||__________
        \


-----Original Message-----
From: Peter Chubb [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 04, 1999 3:03
To: [EMAIL PROTECTED]
Subject: Lilypond 1.1.45 Choirstaff problem



Hi,
        In a choirstaff, all the staves end up on top of each other.

I fixed with the following patch (which is probably wrong....)

--- engraver.ly-orig    Thu Jun  3 11:53:43 1999
+++ engraver.ly Fri Jun  4 16:18:35 1999
@@ -57,22 +57,6 @@
 };
 
 \translator{\StaffContext }
-\translator {
-       \type "Engraver_group_engraver";
-       \name ChoirStaff;
-       alignmentReference = \center;   
-       \consists "Staff_group_bar_engraver";
-
-       \consistsend "Axis_group_engraver";
-       \accepts "Staff";
-       \accepts "RhythmicStaff";
-       \accepts "GrandStaff";
-       \accepts "PianoStaff";
-
-               
-       \accepts "Lyrics";
-       \accepts "ChordNames";
-}
 
 
 RhythmicStaffContext=\translator{
@@ -151,6 +135,29 @@
        
 };
 \translator{\PianoStaffContext}
+
+ChoirStaffContext = \translator {
+       \type "Engraver_group_engraver";
+       \name ChoirStaff;
+       alignmentReference = \center;   
+       \consists "Staff_group_bar_engraver";
+       \consists "Vertical_align_engraver";
+       minVerticalAlign = 3.0*\staffheight;
+       maxVerticalAlign = 3.0*\staffheight;
+
+       \consistsend "Axis_group_engraver";
+       \accepts "Staff";
+       \accepts "RhythmicStaff";
+       \accepts "GrandStaff";
+       \accepts "PianoStaff";
+
+               
+       \accepts "Lyrics";
+       \accepts "ChordNames";
+};
+\translator{\ChoirStaffContext}
+
+
 StaffGroupContext= \translator {
        \type "Engraver_group_engraver";
        \consists "Span_bar_engraver";

Reply via email to