On 13.06.2016 20:55, David Kastrup wrote:
So you probably want
testy = #(define-music-function (note)
(ly:music?)
(make-relative (note) note
#{
\tag #'a { $note }
\tag #'b { $note }
#}))
This uses just "note" as the expression affecting \relative, but places
two separate copies of the once-affected note in your tags.
Expressed differently: the whole concept of \relative sucks.
Expressed still another way: the concept of \relative, while convenient
for music entry in most situations, may sometimes have complex
implications, e.g. when used in music functions.
Best, Simon
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel