]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/version-output.ly
Fix #362 (2)
[lilypond.git] / input / test / version-output.ly
index 5afcc35da8cd2ccb6c8f5b0486a9198b8158ce2b..012ff14c075c476d43753d5d03241ae47dbad747 100644 (file)
@@ -1,13 +1,21 @@
-\version "2.1.7"
+\version "2.10.0"
 
 \header {
-    texidoc  = "By putting the output of @code{lilypond-version}
-  into a lyric, we can print the version number in a score,
-or a lilypond-book document."
-    }
 
-\score { \context Lyrics \notes {
-    \property Score.RehearsalMark \set #'self-alignment-X = #LEFT
+
+    texidoc = #(string-append "By putting the output of
+    @code{lilypond-version} into a lyric, it is possible to print the 
+    version number of LilyPond in a score, or in a document generated
+    with @code{lilypond-book}.  Another possibility is to append the 
+    version number to the doc-string, in this manner: "
+
+  (lilypond-version)
+  )
+    
+}
+
+\score { \context Lyrics  {
+    \override Score.RehearsalMark  #'self-alignment-X = #LEFT
     \mark #(ly:export (string-append "Processed with LilyPond version " (lilypond-version)))
     s2
   }