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