]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/outputting-the-version-number.ly
Merge branch 'stable'
[lilypond.git] / input / lsr / outputting-the-version-number.ly
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 \version "2.12.0"
4
5 \header {
6   lsrtags = "text"
7   texidoc = "
8 By putting the output of @code{lilypond-version} into lyrics 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   doctitle = "Outputting the version number"
13 } % begin verbatim
14
15
16 \score {
17   \new Lyrics {
18     \override Score.RehearsalMark #'self-alignment-X = #LEFT
19     \mark #(ly:export (string-append "Processed with LilyPond version "
20                        (lilypond-version)))
21     s2
22   }
23 }