]> git.donarmstrong.com Git - lilypond.git/blob - input/test/version-output.ly
* scripts/lilypond-book.py (do_file): do not overwrite input file.
[lilypond.git] / input / test / version-output.ly
1 \version "2.1.26"
2
3 \header {
4
5
6     texidoc = #(string-append "By putting the output of
7     @code{lilypond-version} into a lyric, we can print the version
8     number in a score, or a lilypond-book document. Another option is
9     to append the version to the doc-string, like this: "
10
11   (lilypond-version)
12   )
13     
14 }
15
16 \score { \context Lyrics \notes {
17     \override Score.RehearsalMark  #'self-alignment-X = #LEFT
18     \mark #(ly:export (string-append "Processed with LilyPond version " (lilypond-version)))
19     s2
20   }
21 }
22
23