> 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 _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel