]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/outputting-the-version-number.ly
Merge master into nested-bookparts
[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.11.62"
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 \score {
16   \new Lyrics {
17     \override Score.RehearsalMark #'self-alignment-X = #LEFT
18     \mark #(ly:export (string-append "Processed with LilyPond version "
19                        (lilypond-version)))
20     s2
21   }
22 }