]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/new/outputting-the-version-number.ly
Merge master into nested-bookparts
[lilypond.git] / input / new / outputting-the-version-number.ly
index cfb274d0ecfd97b9ab9425faf87182526de1a4cb..61ce8693357ac3aa9421b28a61f7b52394d9dde1 100644 (file)
@@ -1,18 +1,20 @@
-\version "2.11.23"
+\version "2.11.61"
 
 \header {
   lsrtags = "text"
   texidoc = "
-By putting the output of @code{lilypond-version} into a lyric or a
+By putting the output of @code{lilypond-version} into lyrics or a
 text markup, it is possible to print the version number of LilyPond in
 a score, or in a document generated with @code{lilypond-book}.
 "
   doctitle = "Outputting the version number"
 }
 
-\score { \context Lyrics  {
-    \override Score.RehearsalMark  #'self-alignment-X = #LEFT
-    \mark #(ly:export (string-append "Processed with LilyPond version " (lilypond-version)))
+\score {
+  \new Lyrics {
+    \override Score.RehearsalMark #'self-alignment-X = #LEFT
+    \mark #(ly:export (string-append "Processed with LilyPond version "
+                       (lilypond-version)))
     s2
   }
 }