Thomas Morley <[email protected]> writes:

> I tried your suggestion (without any changes), but it didn't compile.
>
> \version "2.14.2"
>
> notToBarline = #(define-music-function
>  (parser location grb)
>  (ly:music?)
> #{
>  -\tweak #'to-barline ##f-$grb
> #})
>
> {
> c1-\notToBarline \< |
> d4\!  % etc.
> }
>
> The log states:
>
> <string>:2:1: Fehler: syntax error, unexpected '-'
>  
>  -\tweak #(quote to-barline) ##f-\lilyvartmpbg
> <string>:2:32: Fehler: syntax error, unexpected '-'
>  -\tweak #(quote to-barline) ##f
>                                 -\lilyvartmpbg
>
> Am I doing something wrong? Or should I use a higher version?

The latter.  This functionality of #{ ... #} has been implemented about
a month ago in 2.15 and will see the light of a stable version first in
2.16.

-- 
David Kastrup


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

Reply via email to