bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bar number on odd bars does not work on new release?


From: Paul Morris
Subject: Re: Bar number on odd bars does not work on new release?
Date: Sat, 18 Jan 2014 13:59:58 -0800 (PST)

Looks like the following works.  I just added a second argument to the lambda
expression. It is just ignored, but it prevents the error.
(n) -> (n x)

HTH,
-Paul

\version "2.18.0"

\layout { 
  \context { 
    \Score 
    barNumberVisibility = #all-bar-numbers-visible 
    barNumberVisibility = #(lambda (n x) (= (modulo n 2) 1))
    \override BarNumber.break-visibility = #all-visible 
} } 

\new Staff { 
  \bar "" 
  \repeat unfold 8 { c'2 c' } 
}




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Bar-number-on-odd-bars-does-not-work-on-new-release-tp157263p158179.html
Sent from the Bugs mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]