]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/new/outputting-the-version-number.ly
Merge branch 'master' into dev/texi2html
[lilypond.git] / input / new / outputting-the-version-number.ly
index cfb274d0ecfd97b9ab9425faf87182526de1a4cb..87a89cb4a0b0990b7c59d587121144d10e7ccbdf 100644 (file)
@@ -10,9 +10,11 @@ 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
   }
 }