]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/footnote-break-visibility.ly
Add regtests for issue 1650
[lilypond.git] / input / regression / footnote-break-visibility.ly
index e45d8012af2666cef2e7b2821c1be6f5754e0849..4626553982a90a4808ac1b7807ae09fb0c9525e3 100644 (file)
@@ -1,24 +1,25 @@
-\version "2.13.54"
+\version "2.15.40"
 \header {
   texidoc = "With grobs that have break visibility, footnotes will
-automatically print to the first line of the break.  This behavior
-can be overrided."
+automatically take the break visibility of the grob being footnoted.
+This behavior can be overridden.
+"
 }
 
 #(set-default-paper-size "a6")
 
 \book {
 
-\new Staff \with { \consists "Footnote_engraver" }
+\new Staff
 {
   \relative c' {
     c1
-    \footnoteGrob #'TimeSignature #'(0 . 2) "foo" "bar"
+    \footnote "foo" #'(0 . 2) #'TimeSignature "bar" \default
     \time 3/4
     \break \pageBreak
     c2.
-    \once \override Staff . FootnoteItem #'break-visibility = ##(#f #f #t)
-    \footnoteGrob #'TimeSignature #'(0 . 2) "foo" "bar"
+    \once \override Score . FootnoteItem #'break-visibility = ##(#f #f #t)
+    \footnote "foo" #'(0 . 2) #'TimeSignature "bar" \default
     \time 4/4
     \break \pageBreak
     c1 \bar "|."