X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fnew%2Foutputting-the-version-number.ly;h=61ce8693357ac3aa9421b28a61f7b52394d9dde1;hb=04dc6a025720a3f4930e9cfcd19f17b716ccf478;hp=0d32f6bdf194189fc01fa55dd660b08fa19b11e7;hpb=4c1b01719b22ed0ae8d1aa393f14d1c205c3ac88;p=lilypond.git diff --git a/input/new/outputting-the-version-number.ly b/input/new/outputting-the-version-number.ly index 0d32f6bdf1..61ce869335 100644 --- a/input/new/outputting-the-version-number.ly +++ b/input/new/outputting-the-version-number.ly @@ -1,18 +1,20 @@ -\version "2.11.23" +\version "2.11.61" \header { - doctitle = "Outputting the version number" lsrtags = "text" texidoc = " -By putting the output of @code{lilypond-version} into a lyric or a +By putting the output of @code{lilypond-version} into lyrics 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 } }