]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/new/outputting-the-version-number.ly
Update .ly files.
[lilypond.git] / input / new / outputting-the-version-number.ly
index cfb274d0ecfd97b9ab9425faf87182526de1a4cb..e573ade32658294ab055a7efcf1704bccbc42701 100644 (file)
@@ -1,18 +1,20 @@
-\version "2.11.23"
+\version "2.12.0"
 
 \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
   }
 }