]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/outputting-the-version-number.ly
05c1e88a76ecb9de1424f74369ecd0d505ea84a8
[lilypond.git] / Documentation / snippets / outputting-the-version-number.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.2"
8
9 \header {
10   lsrtags = "really-simple, text, titles, scheme-language"
11
12 %% Translation of GIT committish: 57f9346bb030f49336a858fcbf1519366fe56454
13   texidocfr = "
14 L'insertion du résultat de @code{lilypond-version} dans des paroles
15 permet d'ajouter à la partition ou au document généré par
16 @code{lilypond-book} le numéro de la version de LilyPond utilisée.  Une
17 autre possibilité consiste à l'ajouter à une chaîne textuelle comme
18 ci-dessous.
19
20 "
21   doctitlefr = "Impression du numéro de version"
22
23   texidoc = "
24 By putting the output of
25     @code{lilypond-version} into a lyric, it is possible to print the
26     version number of LilyPond in a score, or in a document generated
27     with @code{lilypond-book}.  Another possibility is to append the
28     version number to the doc-string, in this manner:
29
30 "
31   doctitle = "Outputting the version number"
32 } % begin verbatim
33
34
35 \score {
36   \new Lyrics {
37     \override Score.RehearsalMark #'self-alignment-X = #LEFT
38     \mark #(string-append "Processed with LilyPond version " (lilypond-version))
39     s2
40   }
41 }
42
43
44