]> git.donarmstrong.com Git - lilypond.git/blob - input/new/outputting-the-version-number.ly
Merge branch 'lilypond/translation' of ssh://trettig@git.sv.gnu.org/srv/git/lilypond...
[lilypond.git] / input / new / outputting-the-version-number.ly
1 \version "2.11.23"
2
3 \header {
4   lsrtags = "text"
5   texidoc = "
6 By putting the output of @code{lilypond-version} into a lyric or a
7 text markup, it is possible to print the version number of LilyPond in
8 a score, or in a document generated with @code{lilypond-book}.
9 "
10   doctitle = "Outputting the version number"
11 }
12
13 \score { \context Lyrics  {
14     \override Score.RehearsalMark  #'self-alignment-X = #LEFT
15     \mark #(ly:export (string-append "Processed with LilyPond version " (lilypond-version)))
16     s2
17   }
18 }