--- /dev/null
+\header {
+ texidoc = "Staves with percent repeats are not killed."
+}
+
+\version "2.11.53"
+
+<<
+ \new Staff { c''1 c'' \break c'' c'' }
+ \new Staff \repeat percent 4 { c'1 }
+>>
+
+\layout {
+ \context {
+ \RemoveEmptyStaffContext
+ }
+}
keepAliveInterfaces = #'(
rhythmic-grob-interface
lyric-interface
+ percent-repeat-item-interface
+ percent-repeat-interface
;; need this, as stanza numbers are items, and appear only once.
stanza-number-interface
- percent-repeat-interface)
+ )
quotedEventTypes = #'(
note-event
rest-event
"Parentheses for other objects."
'(padding stencils))
+(ly:add-interface
+ 'percent-repeat-interface
+ "Beat, Double and single measure repeats."
+ '())
+
(ly:add-interface
'piano-pedal-interface
"A piano pedal sign."
(meta . ((class . Item)
(interfaces . (font-interface
break-aligned-interface
+ percent-repeat-interface
percent-repeat-item-interface))))))
(DoublePercentRepeatCounter
(interfaces . (side-position-interface
self-alignment-interface
percent-repeat-item-interface
+ percent-repeat-interface
font-interface
text-interface))))))
(meta . ((class . Spanner)
(interfaces . (multi-measure-rest-interface
font-interface
- percent-repeat-item-interface))))))
+ percent-repeat-interface
+ ))))))
(PercentRepeatCounter
. (
(meta . ((class . Spanner)
(interfaces . (side-position-interface
self-alignment-interface
- percent-repeat-item-interface
+ percent-repeat-interface
font-interface
text-interface))))))
(slope . 1.7)
(meta . ((class . Item)
(interfaces . (rhythmic-grob-interface
+ percent-repeat-interface
percent-repeat-item-interface))))))
(RepeatTie