2 #(ly:set-option 'warning-as-error #f)
3 #(ly:expect-warning (_ "Requested string for pitch requires negative fret: string ~a pitch ~a") 1 "#<Pitch c' >")
4 #(ly:expect-warning (_ "Ignoring string request and recalculating."))
5 #(ly:expect-warning (_ "Negative fret for pitch ~a on string ~a") "#<Pitch c' >" 1)
6 #(ly:expect-warning (_ "Requested string for pitch requires negative fret: string ~a pitch ~a") 1 "#<Pitch c' >")
7 #(ly:expect-warning (_ "Ignoring note in tablature."))
11 % #(ly:expect-warning (ly:translate-cpp-warning-scheme "Markup depth exceeds maximal value of %d; Markup: %s") 1024 "recursive-explosion-markup")
16 Negative fret numbers calculated due to assigning a string number
17 can be displayed, ignored, or recalculated. Here we should have
18 all three cases demonstrated.
23 myMusic = \relative c' {
24 <c\1>1 ^\markup { recalculate }
25 \set TabStaff.handleNegativeFrets = #'include
26 <c\1>1 ^ \markup { include }
27 \set TabStaff.handleNegativeFrets = #'ignore
28 <c\1>1 ^ \markup { ignore }