Am 03.12.2013 16:12, schrieb David Kastrup:
I have no problem using
annotate =
#(define-music-function (parser location properties item)
(ly:context-mod? symbol-list-or-music?)
;; annotates a musical object for use with lilypond-doc
(display (ly:get-context-mods properties))
; Dummy coloring
#{
Urs Liska writes:
> Hi,
>
> when running this code
>
> annotate =
>
> #(define-music-function (parser location properties item)
>
> (ly:context-mod? symbol-list-or-music?)
>
> ;; annotates a musical object for use with lilypond-doc
>
> (display (ly:get-context-mods properties))
>
> ; Dummy colori
Hi,
when running this code
annotate =
#(define-music-function (parser location properties item)
(ly:context-mod? symbol-list-or-music?)
;; annotates a musical object for use with lilypond-doc
(display (ly:get-context-mods properties))
; Dummy coloring
#{
\once \tweak color #magenta #item