On 06/01/14 20:47, Federico Bruni wrote:
2014/1/6 Esa Erola <[email protected]>


The snippet putting bar numbers on odd bars does not seem to work on 2.16.0
- it worked on an earlier release


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

The snipped is given here:

http://lsr.dsi.unimi.it/LSR/Snippet?id=712


the snippets in the LSR are compiled for an old lilypond version, currently
2.14
hopefully some power user or developer will help you to fix it, this is the
error:


  Interpreting music...lily-library.scm: In expression (process-procedure
book paper ...):
lily-library.scm: Wrong number of arguments to #<procedure #f (n)>
The offending line is

    barNumberVisibility = #(lambda (n) (= (modulo n 2) 1))

If you comment that out it works (or rather the file compiles but you don't get the output you want). That doesn't help anyone, but shows where the problem line is.

James

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to