Bernard, if this helps you, could you please add it to LSR so that other
people can easily find this answer?
http://lsr.dsi.unimi.it/
Cheers,
- Graham
Michael Lauer wrote:
Bernard Hurley <bernard <at> fong-hurley.org.uk> writes:
Hi all,
Is there any way of removing tags from music?
You can write a music function to do it:
stripTags = #(define-music-function (parser loc m) (ly:music?)
(music-map (lambda (x) (ly:music-set-property! x 'tags '()) x) m))
one= {a'' \tag #'A b'' c'' \tag #'C f''}
two = {\keepWithTag #'A \one }
three = { \tag #'B \stripTags \two \tag #'E a'' }
{
d'' \keepWithTag #'B \three
}
Hope this helps--
Michael
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user