Hi Pierre,

On Thu, Oct 23, 2014 at 2:46 AM, Les Editions Valmajour <
p...@editions-valmajour.fr> wrote:

>  That's right, I was focused on the automation thing, but I will use it
> manually for now, the piece is not so long anyway :)
>

Yes, the automation thing is really a shame.  Unfortunately, I don't
believe it is possible to do with an \override of InstrumentName which
handles positioning beautifully!

The reason is that the 'currentBarNumber is a context property, which as
far as I know, is inaccessible from within the function "use-my-text".

The reason I tried the Scheme engraver is that context properties are
immediately available, but the big problem with that approach is evident!
Depending on how the text is set in the engraver, all the numbers are
either the first bar number or the last+1.

I think that if you want automation your best approach would be to look at
modifying the position of BarNumber.

Thank you so much for your assistance!
>

You're very welcome!

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

Reply via email to