lilypond-devel
[Top][All Lists]
Advanced

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

Re: Inital barnumber?


From: Daniel Johnson
Subject: Re: Inital barnumber?
Date: Thu, 25 May 2006 09:27:22 -0700
User-agent: Thunderbird 1.5 (Windows/20051201)

Graham Percival wrote:

On 23-May-06, at 2:29 PM, Christian Conkle wrote:

I'm working on what the Lilypond docs so nicely term a "musicological document" with lilypond-book excerpts from a Bach fugue. (fis minor from WTCI) I'm using \set Score.currentBarNumber to keep the bar numbering correct, and it would be nice to have Lilypond put a bar number at the beginning of the excerpt. Is this possible?

I believe that this _is_ possible, but it is much more difficult than it should be. The docs say that
barNumberVisibility (procedure)
Procedure that takes an int and returns whether the corresponding bar number should be printed

so if you wrote a procedure to return #t if the currentBarNumber was 1, it should work. I'm not certain how to go about writing such a procedure, though.

I sent this email to -devel as well, as a feature request for a simple property (printFirstBarNumber ?) which does this.

Cheers,
- Graham
See this message:

http://lists.gnu.org/archive/html/lilypond-user/2005-09/msg00662.html

(This applied to the 2.7 codebase; I hope it still works.)




reply via email to

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