]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/version-output.ly
remove padding tweaks. Add
[lilypond.git] / input / test / version-output.ly
index 8fe6f8952df74ee677c52d5cc26211ab23947a95..f92705de82af261daf6fc404ef47f1f79fdd28df 100644 (file)
@@ -1,13 +1,21 @@
-\version "1.9.8"
+\version "2.6.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
   }