]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/header-book-multiple.ly
5eb96398cef43f71ed2894667c892465ce85da79
[lilypond.git] / input / regression / header-book-multiple.ly
1 \version "2.15.42"
2
3 \header {
4   texidoc="
5 A second book-level header block and headers nested in bookpart and score should not clear values from the first header block.  This score should show composer, piece, subtitle and title."
6 }
7
8 \book {
9   \header {
10     title = "Title incorrect (to be superseded at book level)"
11     subtitle = "Subtitle incorrect (to be superseded in bookpart)"
12     composer = "Composer correct (set in book)"
13     piece = "Piece incorrect (to be superseded in score)"
14   }
15   % This should replace title without affecting other fields
16   \header {
17     title = "Title correct (superseded at book level)"
18   }
19   \bookpart {
20     % This should replace subtitle without affecting other fields
21     \header {
22       subtitle = "Subtitle correct (superseded in bookpart)"
23     }
24     \markup \vspace #2
25     \markup { \bold Note: title, subtitle, piece, and composer expected. }
26     \markup \vspace #2
27     \score {
28       \new Staff { c'1 }
29       \header {
30         % This should replace piece without affecting other fields
31         piece = "Piece correct (superseded in score)"
32       }
33     }
34   }
35 }