One thing that caught my attention was that you have Lyrics contexts within a Staff context. Try to move them outside the \context Staff = tenoo << ... >>. I'm not sure if that's the problem here, but it's at least
a common source of problems.

  /Mats

Quoting "Graeme St.Clair" <[EMAIL PROTECTED]>:

Again, Windows XP native, 2.6.5.  Also W98, 2.7.37.

With the structure described below, I get a mysterious extra staff in the first system of the piano score. It has only a treble clef and a C = common time, not even any staff lines, still less any notes. This also happened before I made the \addquote changes related in a previous question.

Any suggestions?  (If necessary, I can post the whole thing.)

Rgds, G.

****

#(ly:set-option 'point-and-click #f)
#(set-default-paper-size "letter")
\header {
 blahblah
 breakbefore = ##t
}

\version "2.6.5"

global = {
 \time 4/4
 \key  d \major
}

tenoMusic = {
\clef "violin_8"
% 1-5
r2. a 4 \f | d'2 a 2 | fis 2 d 4 fis'4 | fis'2\sf\> e' 4 d'4\! | d'2\p\fermata cis'4\fermata
blah
}

tentMusic = {
similar blah
}

bariMusic = {
similar blah
}

bassMusic = {
similar blah
}

tenoVOne = \lyricmode {
         blah
}
tenoVTwo = \lyricmode {
         blah
}

tentVOne = \lyricmode {
         blah
}
etc

\addquote tenoMusic \tenoMusic
\addquote tentMusic \tentMusic
\addquote bariMusic \bariMusic
\addquote bassMusic \bassMusic

\book {
\score {
 \context ChoirStaff
\with { fontSize = #-1 \override StaffSymbol #'staff-space = #(magstep -1) } % Else 1 staff per page!
 <<

   \context Staff  = tenoo <<
     \context Lyrics = tenos { s1 }
     \context Lyrics = tenps { s1 }
     \context Voice  = tenos {
\autoBeamOff % Only needed on this part for bar 21 \dynamicUp % All parts, to put dynamics above staff \override Rest #'staff-position = #0 % All parts, to sink rests to middle of staff \voiceOne \stemNeutral << \global \tenoMusic >> % All parts, Neutral minimises vertical space usage
     }
   >>

same for T2, Bar, B

   \context Lyrics = tenos \lyricsto tenos \tenoVOne
   \context Lyrics = blah
 >>

 \layout {
   \context {
    \Staff minimumVerticalExtent = #'(-1 . 1)
   }
 }

} % end score 1

\score {
 \context PianoStaff <<
\pageBreak % Has to be here, but bug seems to create extra empty staff

   \context Staff = upper  <<
     \clef "violin_8"
     \set Staff.printPartCombineTexts = ##f
     \set Staff.quotedEventTypes = #'(note-event rest-event dynamic-event)
     \partcombine
     << \global \quoteDuring #"tenoMusic" { s1*39 } >>
     << \global \quoteDuring #"tentMusic" { s1*39 } >>
   >>

   \context Staff = lower  <<
     \clef "bass"
     \set Staff.printPartCombineTexts = ##f
     \set Staff.quotedEventTypes = #'(note-event rest-event dynamic-event)
     \partcombine
     << \global \quoteDuring #"bariMusic" { s1*39 } >>
     << \global \quoteDuring #"bassMusic" { s1*39 } >>
   >>
 >>
} % end score 2

} % end \book






_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to