]> 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 0d32f6bdf194189fc01fa55dd660b08fa19b11e7..87a89cb4a0b0990b7c59d587121144d10e7ccbdf 100644 (file)
@@ -1,18 +1,20 @@
 \version "2.11.23"
 
 \header {
-  doctitle = "Outputting the version number"
   lsrtags = "text"
   texidoc = "
 By putting the output of @code{lilypond-version} into a lyric 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
   }
 }