Hi all,

is it possible to write a function that does something based on
whether the current context will be visible or hidden in the next
system?  For example, i have

\version "2.19.12"

\layout {
  \context {
    \Score
    \RemoveEmptyStaves
  }
}

fooBarline = {}

<<
  \new Staff {
    \fooBarline
    \repeat unfold 24 c'4
    R1*8
  }
  \new Staff {
    \repeat unfold 24 f'2
  }
>>

And i'd like to define fooBarline so that the last barline before the
staff is hidden (which happens because of RemoveEmptyStaves) is
different.

best,
Janek

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

Reply via email to