X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Foutputting-the-version-number.ly;h=1666f205c5f74eb33fd05be7df8ae30d7809474a;hb=fb09f28821ce6ce66ec508ddaa8c9320d2813695;hp=0a8b1af650d036661fa530dedc09839ba55e1083;hpb=c6554467b0a9beddf0d7ef12746ae31a25fe36e7;p=lilypond.git diff --git a/input/lsr/outputting-the-version-number.ly b/input/lsr/outputting-the-version-number.ly index 0a8b1af650..1666f205c5 100644 --- a/input/lsr/outputting-the-version-number.ly +++ b/input/lsr/outputting-the-version-number.ly @@ -1,23 +1,28 @@ -%% Do not edit this file; it is auto-generated from input/new +%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it %% This file is in the public domain. -\version "2.11.62" +\version "2.12.3" \header { - lsrtags = "text" + lsrtags = "text, titles" + texidoc = " -By putting the output of @code{lilypond-version} into lyrics or a -text markup, it is possible to print the version number of LilyPond in -a score, or in a document generated with @code{lilypond-book}. +By putting the output of + @code{lilypond-version} into a lyric, it is possible to print the + version number of LilyPond in a score, or in a document generated + with @code{lilypond-book}. Another possibility is to append the + version number to the doc-string, in this manner: + " doctitle = "Outputting the version number" } % begin verbatim - \score { \new Lyrics { \override Score.RehearsalMark #'self-alignment-X = #LEFT - \mark #(ly:export (string-append "Processed with LilyPond version " - (lilypond-version))) + \mark #(string-append "Processed with LilyPond version " (lilypond-version)) s2 } } + + +