Hi,

It seems that if I remove the empty staves using
RemoveEmptyStaffContext everything is usually OK if there are not
lyrics. There's equal amount of space between the staves. However, if
I throw in some lyrics the spacing is messed up and the invisible
staves start taking some space. If there are lyrics you can see the
difference when you compare the space between the first and the second
stave and between the second and the third. If there's no lyrics the
spacing is normal (between 3rd and 4th staves).

Is this a known feature / issue or a new bug? Is there a workaround
for it? I tried to search the bug repository but could not find
anything similar.

-Risto


%%%
\version "2.11.56"

\paper {
    ragged-right = ##t
    indent = 0\mm
    between-system-padding = 0\mm
}

\score {
    <<
    \new Staff {
        c'1 c' \break
        c' c' \break
        c' c' \break
        c' c'
    }
    \addlyrics { foo bar foo bar  }
    \new Staff {
        c'1 c'
        s s
        s s
        c' c'
    }
    \addlyrics { foo bar }
    >>

    \layout {
        \context {
            \RemoveEmptyStaffContext
        }
    }
}
%%%

<<attachment: hidden_staves_take_space_with_lyrics.png>>

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

Reply via email to