]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/header-book-multiplescores.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / header-book-multiplescores.ly
diff --git a/input/regression/header-book-multiplescores.ly b/input/regression/header-book-multiplescores.ly
new file mode 100644 (file)
index 0000000..3e33d1a
--- /dev/null
@@ -0,0 +1,33 @@
+\version "2.16.0"
+
+\header {
+  texidoc="
+Changing the header fields in a book or a bookpart shall not have any effect on the global default values.
+"
+}
+
+\markup \vspace #2
+\markup { \bold Note: expect only title. }
+\markup \vspace #2
+
+\header {
+  title = "Title correct (set at top level)"
+}
+\score {
+  \relative c' { c1 }
+}
+
+
+\book {
+  % This should NOT set a global subtitle for the first score above:
+  \header {
+    subtitle = "Subtitle (set at book level)"
+  }
+  \markup \vspace #2
+  \markup { \bold Note: expect title and subtitle. }
+  \markup \vspace #2
+  %% Do we have a title, and is the subtitle set?
+  \score {
+    \new Staff { c'1 }
+  }
+}