X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fversion-output.ly;h=f92705de82af261daf6fc404ef47f1f79fdd28df;hb=39e82b792ff85043adac9e22038560be14d834ee;hp=8fe6f8952df74ee677c52d5cc26211ab23947a95;hpb=d2e7425b88e579fe53989106965fa13eab551c92;p=lilypond.git diff --git a/input/test/version-output.ly b/input/test/version-output.ly index 8fe6f8952d..f92705de82 100644 --- a/input/test/version-output.ly +++ b/input/test/version-output.ly @@ -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 }