-\version "1.9.0"
+\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
}