[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automatic setting of `currentBarNumber'
From: |
Werner LEMBERG |
Subject: |
Re: automatic setting of `currentBarNumber' |
Date: |
Sat, 24 Jan 2009 16:08:55 +0100 (CET) |
> currentBarNumber must be an integer, so the value is computed at
> parsing time. If it could be a procedure, which evaluation would be
> delayed at music interpretation time, then it would be possible.
> That requires modifying LilyPond code (unless I'm missing
> something).
>
> For a possible solution, see the attached patch.
Thanks! However, I believe that this ad-hoc solution is too specific;
I can imagine that there are other useful applications which need
evaluation at music interpretation time. Any suggestion how to make
this more generic?
Werner