]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/page-label.ly
label&page-ref: apply label to the next score or markup, iso. to the previous one.
[lilypond.git] / input / regression / page-label.ly
index 9f40328cf4ce958691104ba062534783823adcb2..6f1e5c8e881c3b779cbe291285d32fd4bf167dc1 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.11.25"
+\version "2.11.26"
 
 \header {
   texidoc = "Page labels may be placed inside music or at top-level,
@@ -15,6 +15,7 @@ and refered to in markups."
 
 \pageBreak
 
+\label #'toc
 \markup \column {
   \large \fill-line { \null "Table of contents" \null }
   \toc-line #'toc "Table of contents"
@@ -23,10 +24,11 @@ and refered to in markups."
   \toc-line #'markB "Mark B"
   \toc-line #'markC "Mark C"
   \toc-line #'unknown "Unknown label"
-} \label #'toc
+}
 
 \pageBreak
 
+\label #'firstScore
 \score {
   { c'2 c'
     \mark \markup { A (page \concat { \page-ref #'markA "0" "?" ) }} \label #'markA 
@@ -39,4 +41,4 @@ and refered to in markups."
     \mark "C" \label #'markC
   }
   \header { piece = "First score" }
-} \label #'firstScore
\ No newline at end of file
+}
\ No newline at end of file