LSR: Update.
[lilypond/mpolesky.git] / Documentation / snippets / outputting-the-version-number.ly
blob9dc45f52c106934605b16e894e9a33c6ca7a6840
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.29"
6 \header {
7 lsrtags = "text, titles"
9 texidoc = "
10 By putting the output of
11 @code{lilypond-version} into a lyric, it is possible to print the
12 version number of LilyPond in a score, or in a document generated
13 with @code{lilypond-book}. Another possibility is to append the
14 version number to the doc-string, in this manner:
17 doctitle = "Outputting the version number"
18 } % begin verbatim
20 \score {
21 \new Lyrics {
22 \override Score.RehearsalMark #'self-alignment-X = #LEFT
23 \mark #(string-append "Processed with LilyPond version " (lilypond-version))