Stefan
It seems that the #'line-positions setting remains in effect over a
\stopStaff \startStaff, and overrules #'line-count. Include
\override Staff.StaffSymbol #'line-positions = #'(0)
in trommel and it should then work. Actually, if you specify
#'line-positions you don't need to specify #'line-count as well.
(Graham - might be worth getting the author of this section to check this
out (ie overruling line-count) and if this is correct add a note in the NR.)
Trevor
----- Original Message ----- From: "Stefan Thomas" <
address@hidden>
To: "lilypond-user" <address@hidden>
Sent: Monday, May 12, 2008 1:58 PM
Subject: switcj of percussion staves
Dear lilypond-users,
> I have a problem, that's going to drive me crazy at the moment!!
> Why can't I do a change of staff lines in the below quoted example?
>
> %%%%%% Begin %%%%%%
> trommel = { \override Staff.StaffSymbol #'line-count = 1 \override
> Staff.BarLine #'bar-size = #3 }
>
> normalsystem = {\override Staff.StaffSymbol #'line-count = 5 \override
> Staff.BarLine #'bar-size = #4 \override Staff.StaffSymbol
> #'line-positions
> = #'(-4 -2 0 2 4) }
>
> fragA = \relative { \normalsystem c4\laissezVibrer r2. \break
> \stopStaff }
> fragB = \relative { \trommel \startStaff c8 c c c c2 }
>
> \score {
>
> \new Staff { \clef "treble" \fragA \clef percussion \fragB }
>
> }
> %%%% END %%%%%%%
>
>
--------------------------------------------------------------------------------
_______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>