]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4908/5: Add \header variables to `identifiers' regtest
authorDavid Kastrup <dak@gnu.org>
Wed, 29 Jun 2016 16:32:09 +0000 (18:32 +0200)
committerDavid Kastrup <dak@gnu.org>
Thu, 7 Jul 2016 15:57:28 +0000 (17:57 +0200)
input/regression/identifiers.ly

index 1db60350ffe4176fb43527e189c2c17b4f54da47..86d1ebb52f7a6d25a2672cd08bfefc13cdbbc5f3 100644 (file)
@@ -2,25 +2,27 @@
 \header {
   texidoc = "test identifiers."
   }
-\version "2.16.0"
+\version "2.19.45"
 
 num = #3
 mus = { c'4 }
 paperId = \paper { line-width = 5.0 \cm }
 layoutId = \layout { ragged-right = ##t }
+scoreHeaderId = \header { piece = "Piece" }
+bookHeaderId = \header { composer = "Composer" title = "Title" }
 perfId = \midi {}
 markupId = \markup { hoi }
 stringId = "title"
 
-% headers not allowed  as Id's
-
 scoreId = \score {
+  \scoreHeaderId
   \repeat unfold \num \mus
   \layout { \layoutId }
   \midi { \perfId }
   }
 
 bookId = \book {
+  \bookHeaderId
   \score { \scoreId }
   \paper { \paperId }
   }