Mats Bengtsson wrote:
> >> If you have a good reason to do what you ask 
> >> for, why not simply define a macro which 
> >> both draws a rehearsal mark and does a 
> >> \once \override BarNumber #'transparent = ##t
> > I just gave that a quick test and it didn't 
> > seem to eliminate the bar numbers.
> If you replace it by \once \override 
> Score.BarNumber #'transparent = ##t, 
> it should work. Sorry!

Paul,

alternatively you could use this solution:

barNumberMark = {
  \once \override Score.BarNumber #'break-visibility = #'#(#f #f #f)
  \mark \default
}

\score {
  { ... \barNumberMark ... \barNumberMark ... \barNumberMark ... }
  \layout {
    \context {
      \Score
      markFormatter = #format-mark-box-barnumbers
    }
  }
}

- Mark


      


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

Reply via email to