Neil Puttock <n.puttock <at> gmail.com> writes:

<snip>
> The easiest method is to define the markup first, then insert it into
> the verbose list:
> 
> flatSeven = \markup { \concat { \flat 7 } }
> 
> \markup {
>   \override #'(fret-diagram-details . ((finger-code . in-dot)))
>   \fret-diagram-verbose #`((place-fret 4 4 ,flatSeven))
> }
<snip>

Thanks, but although the above syntax works for verbose fret diagram markup, it
does not appear to work for predefined chord shapes:

flatThree = \markup { \concat { \flat 3 } }

\addChordShape  #'CmShape
                                #ukulele-tuning
                                #'(
                                (place-fret 4 1 5)
                                (place-fret 3 4 ,flatThree)
                                (place-fret 2 4 5)
                                (place-fret 1 4 "R")
                                )

\storePredefinedDiagram #default-fret-table \chordmode { des'':m }
                        #ukulele-tuning
                        #(chord-shape 'CmShape ukulele-tuning)

mychords = \chordmode{
        des'':m
}

<<
        \context FretBoards {
                \set stringTunings = #ukulele-tuning
                \override FretBoard
                        #'(fret-diagram-details finger-code) = #'in-dot
                \mychords
        }
>>

The error messages I get are:

programming error: markup head has no markup signature
continuing, cross fingers
ERROR: In procedure apply:
ERROR: Wrong type argument in position 1: unquote



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to