]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/header-score-multiple.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / header-score-multiple.ly
diff --git a/input/regression/header-score-multiple.ly b/input/regression/header-score-multiple.ly
new file mode 100644 (file)
index 0000000..168aca9
--- /dev/null
@@ -0,0 +1,22 @@
+\version "2.16.0"
+\header {
+  texidoc="
+A second score-level header block shall not entirely replace a first header block, but only update changed variables.
+"
+}
+
+\markup \vspace #3
+\markup { \bold Note: expect piece and opus. }
+\markup \vspace #3
+
+\score {
+  \new Staff { c'1 }
+  \header {
+    piece = "Piece correct (set in score)"
+    opus = "Opus incorrect (to be superseded at score level)"
+  }
+  \header {
+    % This should NOT overwrite the piece from above!
+    opus = "Opus correct (superseded at score level)"
+  }
+}